router

Function router 

Source
pub fn router() -> Router<ServiceState>
Expand description

Returns a router with the /health and /ready endpoints.