diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go index 599f12c..5dfc933 100644 --- a/config/config.go +++ b/config/config.go @@ -14,8 +14,11 @@ type Config struct { Prefix string `toml:"prefix"` Proxy string `toml:"proxy"` } `toml:"servers"` - Debug bool `toml:"debug"` - Listen string `toml:"listen"` + Debug bool `toml:"debug"` + Listen string `toml:"listen"` + Metrics struct { + Enabled bool `toml:"enabled"` + } `toml:"metrics"` } func (c Config) Validate() error { |