uauth/internal/opt/config.go
2024-10-24 18:01:44 +08:00

17 lines
230 B
Go

package opt
type svc struct {
Address string `json:"address"`
Prefix string `json:"prefix"`
Cache string `json:"cache"`
}
type config struct {
Debug bool `json:"debug"`
Svc svc `json:"svc"`
}
var (
Cfg = config{}
)