switch glauth to struct tag based env config

This commit is contained in:
Willy Kloucek
2022-01-07 15:39:01 +00:00
committed by Jörn Friedrich Dreyer
parent 161dd949fc
commit 788a390016
16 changed files with 120 additions and 247 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ type Debug struct {
type HTTP struct {
Addr string `ocisConfig:"addr"`
Root string `ocisConfig:"root"`
Namespace string `ocisConfig:"namespace"`
CacheTTL int `ocisConfig:"cache_ttl"`
Namespace string
CacheTTL int `ocisConfig:"cache_ttl"`
}
// Service defines the available service configuration.