@rtorcato/api-health-hono v1.0.0
Functions
livenessHandler()
livenessHandler():
Handler
Defined in: index.ts:9
Liveness probe handler — always 200 { status: 'healthy' }. Mount at
/healthz. Answering at all proves the event loop is responsive; it runs
no dependency checks by design.
Returns
Handler
readinessHandler()
readinessHandler(
registry):Handler
Defined in: index.ts:18
Readiness probe handler — runs the registry's checks and responds 200 when
all pass or 503 when any fail, with the full report as the body. Mount at
/readyz.
Parameters
registry
HealthRegistry
Returns
Handler