mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-03 23:20:24 +08:00
实现最基本的域名服务节点管理
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package models
|
||||
|
||||
// 节点IP地址
|
||||
// NodeIPAddress 节点IP地址
|
||||
type NodeIPAddress struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
NodeId uint32 `field:"nodeId"` // 节点ID
|
||||
Role string `field:"role"` // 节点角色
|
||||
Name string `field:"name"` // 名称
|
||||
Ip string `field:"ip"` // IP地址
|
||||
Description string `field:"description"` // 描述
|
||||
@@ -15,6 +16,7 @@ type NodeIPAddress struct {
|
||||
type NodeIPAddressOperator struct {
|
||||
Id interface{} // ID
|
||||
NodeId interface{} // 节点ID
|
||||
Role interface{} // 节点角色
|
||||
Name interface{} // 名称
|
||||
Ip interface{} // IP地址
|
||||
Description interface{} // 描述
|
||||
|
||||
Reference in New Issue
Block a user