Documentation
¶
Overview ¶
Package health provides liveness and readiness tracking for the router.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
State tracks liveness and readiness atomically.
func (*State) Handler ¶
Handler returns an http.Handler for the health check endpoint. Returns {"status":"UP"} with HTTP 200 when healthy, {"status":"DOWN"} with HTTP 503 when unhealthy.
Click to show internal directories.
Click to hide internal directories.