Skip to content

Commit

Permalink
improvement of the generic server documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ndefokou authored Jul 1, 2024
1 parent bdc7666 commit cb5b293
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion generic-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ impl Plugin for MyPlugin {
// Initialization logic here
Ok(())
}

fn unmount(&self) -> Result<(), PluginError> {
// Initialization logic here
Ok(())
}
fn routes(&self) -> Router {
// Define and return routes here
Router::new().route("/myplugin", get(my_plugin_handler))
Expand Down

0 comments on commit cb5b293

Please sign in to comment.