Files
web/health/response.go
T

9 lines
265 B
Go
Raw Permalink Normal View History

package health
// Response is the JSON body returned by the health handler.
// Status is one of "UP", "DEGRADED", or "DOWN".
type Response struct {
Status string `json:"status"`
Components map[string]ComponentStatus `json:"components"`
}