mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-19 05:10:02 +02:00
Replace local haproxy module with the one located at github.com/eosswedenorg-go/haproxy
This commit is contained in:
parent
88e415cb56
commit
10a12816fa
5 changed files with 5 additions and 23 deletions
|
|
@ -1,3 +0,0 @@
|
|||
module internal/haproxy
|
||||
|
||||
go 1.14
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
|
||||
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"
|
||||
)
|
||||
|
|
@ -6,9 +6,9 @@ import (
|
|||
"strings"
|
||||
"strconv"
|
||||
"internal/log"
|
||||
"internal/haproxy"
|
||||
"internal/eosapi"
|
||||
"internal/utils"
|
||||
"github.com/eosswedenorg-go/haproxy"
|
||||
"github.com/firstrow/tcp_server"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue