Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthResponse ¶
type HealthResponse struct {
Status string `json:"status"`
Live bool `json:"live"`
Ready bool `json:"ready"`
Details map[string]any `json:"details,omitempty"`
}
HealthResponse represents the JSON response for health check endpoints
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides HTTP health check endpoints for Kubernetes probes
func NewServer ¶
func NewServer(addr string, peerRegistry mpc.PeerRegistry, natsConn *nats.Conn, consulClient *api.Client) *Server
NewServer creates a new health check HTTP server
Click to show internal directories.
Click to hide internal directories.