Skip to main content

Module custom

Module custom 

Source
Expand description

The built-in routes under /_: health and readiness.

Routes of your own do not belong here. A binary of yours nests them with crate::Builder::nest, at a prefix of its own or beneath /_, without forking this crate; see docs/custom-routes.md. The handlers at the bottom of this file are sketches of what such routes look like.

Functionsยง

admin_router
Build the router served on admin_server_port.
custom_router
Build the custom routes router.