implemented api handlers
This commit is contained in:
parent
ab12dd67d4
commit
372915e24d
15 changed files with 302 additions and 73 deletions
|
|
@ -78,8 +78,8 @@ func main() {
|
|||
}()
|
||||
sigs := make(chan os.Signal)
|
||||
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
|
||||
<-sigs
|
||||
log.Info("haproxy-lb shutdown")
|
||||
s := <-sigs
|
||||
log.Info("haproxy-lb shutdown", "signal", s.String())
|
||||
c.Stop()
|
||||
log.Info("haproxy-lb stopped")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue