mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
管理平台界面设置中增加“使用的DNS解析库”选项
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user