Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HEALTHY_OK_RESPONSE_PERCENT float64 = 40.0
View Source
var HEALTHY_RESPONSE_TIME float64 = 3.0
View Source
var MINIMUM_NUM_RESPONSES int = 100
Functions ¶
func GetHealthStats ¶
func GetHealthStats(stats_middleware *stats.Stats) http.HandlerFunc
Endpoint which returns health stats Returns HTTP200 when the service is healthy Returns HTTP503 when the service is unhealthy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.