uauth/internal/opt/config.go

18 lines
258 B
Go
Raw Normal View History

2024-10-23 17:46:15 +08:00
package opt
2024-10-24 18:01:44 +08:00
type svc struct {
Address string `json:"address"`
Prefix string `json:"prefix"`
Cache string `json:"cache"`
2024-10-27 21:47:57 +08:00
DB string `json:"db"`
2024-10-24 18:01:44 +08:00
}
2024-10-23 17:46:15 +08:00
type config struct {
Debug bool `json:"debug"`
2024-10-24 18:01:44 +08:00
Svc svc `json:"svc"`
2024-10-23 17:46:15 +08:00
}
var (
Cfg = config{}
)