Added basic authentication in debug/vars
Using a simple http auth middleware. https://github.com/goji/httpauth
This commit is contained in:
@@ -8,9 +8,11 @@ import "errors"
|
||||
|
||||
// The config file
|
||||
type ConfigFile struct {
|
||||
Host string // The host, eg: :8080 will start on 0.0.0.0:8080
|
||||
Expvar bool
|
||||
Apps []*App
|
||||
Host string // The host, eg: :8080 will start on 0.0.0.0:8080
|
||||
Expvar bool
|
||||
User string
|
||||
Password string
|
||||
Apps []*App
|
||||
}
|
||||
|
||||
// Error for App not found
|
||||
|
||||
Reference in New Issue
Block a user