add stats and kill http calls
This commit is contained in:
10
main.go
10
main.go
@@ -86,9 +86,11 @@ func main() {
|
||||
// time to start the listeners
|
||||
go server.Run()
|
||||
NewHTTPServer(
|
||||
config.GetString("config.httpPort", "127.0.0.01:8080"),
|
||||
config.GetString("config.httpKey", ""),
|
||||
config.GetString("config.httpCert", ""),
|
||||
config.GetString("config.httpCa", ""),
|
||||
config.GetString("config.http.port", "127.0.0.01:8080"),
|
||||
config.GetString("config.http.key", ""),
|
||||
config.GetString("config.http.cert", ""),
|
||||
config.GetString("config.http.ca", ""),
|
||||
config.GetString("config.http.startAuth", "CORP"),
|
||||
config.GetString("config.http.reqAuth", "ADMINS"),
|
||||
server)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user