split **/pkg/config/config.go up to multiple files

This commit is contained in:
Willy Kloucek
2022-01-07 16:04:52 +00:00
committed by Jörn Friedrich Dreyer
parent 6990e7d660
commit a13df3dcf7
121 changed files with 2049 additions and 1940 deletions
+9
View File
@@ -0,0 +1,9 @@
package config
// Debug defines the available debug configuration.
type Debug struct {
Addr string `ocisConfig:"addr" env:"PROXY_DEBUG_ADDR"`
Token string `ocisConfig:"token" env:"PROXY_DEBUG_TOKEN"`
Pprof bool `ocisConfig:"pprof" env:"PROXY_DEBUG_PPROF"`
Zpages bool `ocisConfig:"zpages" env:"PROXY_DEBUG_ZPAGES"`
}