管理平台界面设置中增加“使用的DNS解析库”选项

This commit is contained in:
GoEdgeLab
2024-04-29 15:06:55 +08:00
parent 6548fd114d
commit 03fd2e3c6c

View File

@@ -13,6 +13,9 @@ type AdminUIConfig struct {
DefaultPageSize int `json:"defaultPageSize"` // 默认每页显示数
TimeZone string `json:"timeZone"` // 时区
Modules []string `json:"modules"` // 开通模块
DNSResolver struct {
Type string `json:"type"` // 类型,参考 DNSResolverType*
} `json:"dnsResolver"` // DNS解析设置
}
func (this *AdminUIConfig) ContainsModule(module string) bool {