节点日志增加服务ID、是否修复等字段

This commit is contained in:
GoEdgeLab
2021-05-23 20:46:51 +08:00
parent 36e7c1111a
commit aa67a1c241
5 changed files with 86 additions and 9 deletions

View File

@@ -13,6 +13,7 @@ type NodeLog struct {
ServerId uint32 `field:"serverId"` // 服务ID
Hash string `field:"hash"` // 信息内容Hash
Count uint32 `field:"count"` // 重复次数
IsFixed uint8 `field:"isFixed"` // 是否已处理
}
type NodeLogOperator struct {
@@ -27,6 +28,7 @@ type NodeLogOperator struct {
ServerId interface{} // 服务ID
Hash interface{} // 信息内容Hash
Count interface{} // 重复次数
IsFixed interface{} // 是否已处理
}
func NewNodeLogOperator() *NodeLogOperator {