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-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{}
|
|
|
|
)
|