Make connection limit configurable

This commit is contained in:
Harshavardhana
2015-06-06 14:22:51 -07:00
parent 6263b99e5a
commit 8b43655d9f
5 changed files with 82 additions and 48 deletions

View File

@@ -25,10 +25,11 @@ import (
// Config - http server config
type Config struct {
Address string
TLS bool
CertFile string
KeyFile string
Address string
TLS bool
CertFile string
KeyFile string
ConnectionLimit int
}
// Server - http server related