diff options
author | Keuin <[email protected]> | 2024-02-13 16:34:35 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2024-02-15 01:53:10 +0800 |
commit | 36bfa4aa45c8dd16e724c36684b69d8023115b76 (patch) | |
tree | bcee878981d1af49f658b305cbf05560b129efee /config/config.go | |
parent | a89cbe5a93aede3703cd5981ea71827b55db0866 (diff) |
Diffstat (limited to 'config/config.go')
-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 { |