health
Module: health
Section titled “Module: health”Contents
Section titled “Contents”Structs
HealthcheckServer- Minimal HTTP server that serves a/healthzliveness probe.
firma_sidecar::health::HealthcheckServer
Section titled “firma_sidecar::health::HealthcheckServer”Struct
Minimal HTTP server that serves a /healthz liveness probe.
Methods:
fn bind(addr: SocketAddr, cancel: CancellationToken) -> Result<Self, std::io::Error>- Creates a new health-check server bound toaddr.fn serve(self: Self)- Runs the accept loop until the cancellation token fires.
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result