1
0
Fork 0
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:
Henrik Hautakoski 2022-01-03 11:13:09 +01:00
parent 88e415cb56
commit 10a12816fa
No known key found for this signature in database
GPG key ID: 608414D93E862CCD
5 changed files with 5 additions and 23 deletions

View file

@ -1,3 +0,0 @@
module internal/haproxy
go 1.14

View file

@ -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"
)

View file

@ -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"
)