fixed export lint issues in services/admin

pull/4804/head
John Nguyen 2015-11-16 17:31:53 +08:00
parent 43a4201a33
commit 63e958f06e
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ const (
DefaultBindAddress = ":8083"
)
// Config represents the configuration for the admin service.
type Config struct {
Enabled bool `toml:"enabled"`
BindAddress string `toml:"bind-address"`
@ -12,6 +13,7 @@ type Config struct {
HTTPSCertificate string `toml:"https-certificate"`
}
// NewConfig returns an instance of Config with defaults.
func NewConfig() Config {
return Config{
BindAddress: DefaultBindAddress,