Documentation ¶
Index ¶
Constants ¶
View Source
const ( Up = ServiceHealthStatus("UP") Partially = ServiceHealthStatus("PARTIALLY") DownCritical = ServiceHealthStatus("DOWN_CRITICAL") Down = ServiceHealthStatus("DOWN") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceHealth ¶
type ServiceHealth struct { Status ServiceHealthStatus `json:"status,omitempty"` Details map[string]any `json:"details,omitempty"` Components map[string]ServiceHealth `json:"components,omitempty"` }
func Status ¶
func Status(status ServiceHealthStatus) ServiceHealth
func (ServiceHealth) String ¶
func (s ServiceHealth) String() string
type ServiceHealthStatus ¶
type ServiceHealthStatus string
Click to show internal directories.
Click to hide internal directories.