From cb5b29390487221a41fcd6c989e713d85c79ca6d Mon Sep 17 00:00:00 2001 From: ndefokou <150008782+ndefokou@users.noreply.github.com> Date: Mon, 1 Jul 2024 11:53:20 +0100 Subject: [PATCH] improvement of the generic server documentation --- generic-server/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/generic-server/README.md b/generic-server/README.md index 2cba0888..201ef831 100644 --- a/generic-server/README.md +++ b/generic-server/README.md @@ -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))