实现DNS节点远程安装

This commit is contained in:
刘祥超
2021-08-11 21:00:29 +08:00
parent 363892efb2
commit d3e4f28c69
18 changed files with 859 additions and 78 deletions

View File

@@ -1,6 +1,6 @@
package models
// 节点授权
// NodeGrant 节点授权
type NodeGrant struct {
Id uint32 `field:"id"` // ID
AdminId uint32 `field:"adminId"` // 管理员ID
@@ -12,6 +12,7 @@ type NodeGrant struct {
PrivateKey string `field:"privateKey"` // 密钥
Description string `field:"description"` // 备注
NodeId uint32 `field:"nodeId"` // 专有节点
Role string `field:"role"` // 角色
State uint8 `field:"state"` // 状态
CreatedAt uint64 `field:"createdAt"` // 创建时间
}
@@ -27,6 +28,7 @@ type NodeGrantOperator struct {
PrivateKey interface{} // 密钥
Description interface{} // 备注
NodeId interface{} // 专有节点
Role interface{} // 角色
State interface{} // 状态
CreatedAt interface{} // 创建时间
}