switch glauth to struct tag based env config

This commit is contained in:
Willy Kloucek
2022-01-03 07:49:23 +01:00
parent d0030ab555
commit 4067ae9493
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.