Implement accessLog handler

This commit is contained in:
Harshavardhana
2015-10-19 12:15:19 -07:00
parent e9d5ec3d64
commit b9ea18b8b8
5 changed files with 140 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ import (
type serverConfig struct {
/// HTTP server options
Address string // Address:Port listening
AccessLog bool // Enable access log handler
Anonymous bool // No signature turn off
/// FS options
@@ -105,6 +106,7 @@ func registerApp() *cli.App {
// register all flags
registerFlag(addressFlag)
registerFlag(accessLogFlag)
registerFlag(ratelimitFlag)
registerFlag(anonymousFlag)
registerFlag(certFlag)