1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-20 09:56:49 +02:00

Initial commit

This commit is contained in:
Henrik Hautakoski 2020-02-03 13:24:34 +01:00
commit 33c8439604
9 changed files with 270 additions and 0 deletions

15
haproxy/types.go Normal file
View file

@ -0,0 +1,15 @@
package haproxy;
// All supported health check values for HAproxy.
// See https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#5.2-agent-check
type HealthCheckStatus string
const (
HealthCheckUp = "up"
HealthCheckDown = "down"
HealthCheckMaint = "maint"
HealthCheckReady = "ready"
HealthCheckDrain = "drain"
HealthCheckFailed = "failed"
HealthCheckStopped = "Stopped"
)