Skip to main content

liveness

Function liveness 

Source
pub fn liveness(path: &'static str) -> Route
Expand description

A GET path liveness route for App::routes.

Args: path: Where to answer, for example /livez.

Returns: The route; nothing is registered until the app adds it.