Skip to main content

router

Function router 

Source
pub fn router<S: Clone + Send + Sync + 'static>(
    pool: PgPool,
    mcp_rate_limit_per_minute: u32,
) -> Router<S>
Expand description

The /admin router, to be nested at that path. Generic over the outer state so it merges into the main router whatever that carries; it needs none of it.