diff options
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/config.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go index 342012e..8e7402a 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -8,10 +8,12 @@ import ( ) type Config struct { - Debug bool `yaml:"debug"` - DB *db.Config `yaml:"db"` - Listen string `yaml:"listen"` - Admins map[string]string `yaml:"admins"` + Debug bool `yaml:"debug"` + DB *db.Config `yaml:"db"` + Listen string `yaml:"listen"` + Host string `yaml:"host"` + Admins map[string]string `yaml:"admins"` + Keypairs []string `yaml:"keys"` } func New(file string) (*Config, error) { |