Skip to main content

create_router

Function create_router 

Source
pub fn create_router() -> Result<Router>
Expand description

Create the application router with all routes and middleware configured.

ยงErrors

Returns an error if the catalog cannot be loaded.