Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Health ¶
type Health struct { ServiceName string `json:"serviceName,omitempty"` Version string `json:"version,omitempty"` Status StatusCode `json:"status,omitempty"` ConnectedConfigCenterClient bool `json:"connectedConfigCenterClient"` ConnectedMonitoring bool `json:"connectedMonitoring"` Error string `json:"error,omitempty"` }
Health has details about health of a service
type StatusCode ¶
type StatusCode string
StatusCode is type of string
const ( //Red is a const Red StatusCode = "red" //Green is a const Green StatusCode = "green" )
Click to show internal directories.
Click to hide internal directories.