implemented api handlers

This commit is contained in:
ston1th 2021-04-08 00:34:54 +02:00
commit 372915e24d
15 changed files with 302 additions and 73 deletions

View file

@ -19,7 +19,7 @@ const (
EtcdLogLevel = "error"
EtcdPrefix = "/haproxy-lb"
HAProxyConfigFile = "/etc/haproxy/haproxy.cf"
HAProxyConfigFile = "/etc/haproxy/haproxy.cfg"
)
func ParseFile(file string) (cfg *Config, err error) {