Skip to main content

readiness

Function readiness 

Source
pub fn readiness(path: &'static str, checks: ReadinessChecks) -> Route
Expand description

A GET path readiness route running checks.

Args: path: Where to answer, for example /readyz. checks: The checks and their bounds.

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