实现域名、记录同步等API

This commit is contained in:
GoEdgeLab
2021-06-01 16:43:00 +08:00
parent 312fd8e995
commit b4bdf7ba8f
13 changed files with 379 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ type NSDomain struct {
IsOn uint8 `field:"isOn"` // 是否启用
Name string `field:"name"` // 域名
CreatedAt uint64 `field:"createdAt"` // 创建时间
Version uint64 `field:"version"` // 版本
State uint8 `field:"state"` // 状态
}
@@ -18,6 +19,7 @@ type NSDomainOperator struct {
IsOn interface{} // 是否启用
Name interface{} // 域名
CreatedAt interface{} // 创建时间
Version interface{} // 版本
State interface{} // 状态
}