Something went wrong. Try again.
🏗️ Elegant & Highly Performant Async Gemini Server Framework for the Modern Age
async framework gemini-protocol protocol gemini rust
Something went wrong. Try again.
12345678910111213use crate::context::HookContext;
pub trait Module { /// Called right after the module is attached. fn on_attach(&mut self, _: &mut crate::router::Router) {}
/// Called before a route is mounted. fn on_pre_route(&mut self, _: HookContext) {}
/// Called after a route is mounted. fn on_post_route(&mut self, _: HookContext) {}}