Documentation ¶
Overview ¶
Package probes provides probes functionality via http
Index ¶
Constants ¶
View Source
const ( // STATE_SUCCESS when the service is in success state STATE_SUCCESS string = "SUCCESS" //nolint // STATE_FAILED when the service is in a failed state STATE_FAILED string = "FAILED" //nolint // STATE_UNKNOWN when the service is unknown (default) state STATE_UNKNOWN string = "UNKNOWN" //nolint )
View Source
const (
TraceTimeSec int64 = 60
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ProbesAPI ¶
ProbesAPI configuration for http probes
func NewProbesAPI ¶
NewProbesAPI creates a new probes server
func (*ProbesAPI) GetHealthz ¶
GetHealthz responds to /healthz
Click to show internal directories.
Click to hide internal directories.