Add rate limiter instead of connection limit for now

This commit is contained in:
Harshavardhana
2015-06-06 17:01:39 -07:00
parent 996c1a5c28
commit 371651bde6
7 changed files with 86 additions and 74 deletions

View File

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