Expand description
HTTP server integration points. Server-side integration points.
This module provides small, framework-agnostic primitives for exposing standard operational endpoints.
§Feature requirements
- The core types (
Readiness,HttpServer) requirestd. axumintegration helpers are available behind theaxumfeature.
§Contracts
Readinessis cooperative state: application code must update it.- Readiness is intended for load balancers and orchestrators; it is not a substitute for correctness checks.
Structs§
- Http
Server - Minimal server-side shape for standard platform health and readiness endpoints.
- Readiness
- Shareable readiness latch for exposing a
/readyzendpoint.
Enums§
- Readiness
State - Readiness state used by
Readiness.
Constants§
- DEFAULT_
HEALTHZ_ PATH - Default route path for the liveness endpoint.
- DEFAULT_
READYZ_ PATH - Default route path for the readiness endpoint.