DNS集群增加时区选项

This commit is contained in:
GoEdgeLab
2022-09-19 17:00:39 +08:00
parent 5f40529683
commit 48d12221fe
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ type NSCluster struct {
DdosProtection dbs.JSON `field:"ddosProtection"` // DDoS防护设置
Hosts dbs.JSON `field:"hosts"` // DNS主机地址
AutoRemoteStart bool `field:"autoRemoteStart"` // 自动远程启动
TimeZone string `field:"timeZone"` // 时区
}
type NSClusterOperator struct {
@@ -35,6 +36,7 @@ type NSClusterOperator struct {
DdosProtection any // DDoS防护设置
Hosts any // DNS主机地址
AutoRemoteStart any // 自动远程启动
TimeZone any // 时区
}
func NewNSClusterOperator() *NSClusterOperator {