实现最基本的域名服务节点管理

This commit is contained in:
GoEdgeLab
2021-05-26 14:40:05 +08:00
parent fa74ebecd5
commit 402f8dde4f
28 changed files with 790 additions and 117 deletions

View File

@@ -2,17 +2,19 @@ package nameservers
// NSCluster 域名服务器集群
type NSCluster struct {
Id uint32 `field:"id"` // ID
IsOn uint8 `field:"isOn"` // 是否启用
Name string `field:"name"` // 集群名
State uint8 `field:"state"` // 状态
Id uint32 `field:"id"` // ID
IsOn uint8 `field:"isOn"` // 是否启用
Name string `field:"name"` // 集群名
InstallDir string `field:"installDir"` // 安装目录
State uint8 `field:"state"` // 状态
}
type NSClusterOperator struct {
Id interface{} // ID
IsOn interface{} // 是否启用
Name interface{} // 集群名
State interface{} // 状态
Id interface{} // ID
IsOn interface{} // 是否启用
Name interface{} // 集群名
InstallDir interface{} // 安装目录
State interface{} // 状态
}
func NewNSClusterOperator() *NSClusterOperator {