9 lines
265 B
Go
9 lines
265 B
Go
|
|
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"`
|
||
|
|
}
|