refactor settings

This commit is contained in:
Christian Richter
2022-04-13 17:04:37 +02:00
parent 92d76e00ab
commit 1a1a4d6a3c
114 changed files with 80 additions and 8747 deletions
+9
View File
@@ -0,0 +1,9 @@
package config
// Debug defines the available debug configuration.
type Debug struct {
Addr string `yaml:"addr" env:"SETTINGS_DEBUG_ADDR"`
Token string `yaml:"token" env:"SETTINGS_DEBUG_TOKEN"`
Pprof bool `yaml:"pprof" env:"SETTINGS_DEBUG_PPROF"`
Zpages bool `yaml:"zpages" env:"SETTINGS_DEBUG_ZPAGES"`
}