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

This commit is contained in:
刘祥超
2024-04-29 15:06:55 +08:00
parent d9350839f3
commit f73251f57d

View File

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