uauth/internal/opt/config.go

18 lines
258 B
Go
Raw Permalink Normal View History

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