split **/pkg/config/config.go up to multiple files
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package config
|
||||
|
||||
// HTTP defines the available http configuration.
|
||||
type HTTP struct {
|
||||
Addr string `ocisConfig:"addr" env:"WEB_HTTP_ADDR"`
|
||||
Namespace string
|
||||
Root string `ocisConfig:"root" env:"WEB_HTTP_ROOT"`
|
||||
CacheTTL int `ocisConfig:"cache_ttl" env:"WEB_CACHE_TTL"`
|
||||
}
|
||||
Reference in New Issue
Block a user