实现基本的监控终端管理

This commit is contained in:
刘祥超
2021-09-08 19:34:31 +08:00
parent 838d33648f
commit 1ea7fe0213
13 changed files with 402 additions and 36 deletions

View File

@@ -9,6 +9,7 @@ type ReportResult struct {
UpdatedAt uint64 `field:"updatedAt"` // 更新时间
ReportNodeId uint32 `field:"reportNodeId"` // 监控节点ID
IsOk uint8 `field:"isOk"` // 是否可连接
Level string `field:"level"` // 级别
CostMs float64 `field:"costMs"` // 单次连接花费的时间
Error string `field:"error"` // 产生的错误信息
CountUp uint32 `field:"countUp"` // 连续上线次数
@@ -23,6 +24,7 @@ type ReportResultOperator struct {
UpdatedAt interface{} // 更新时间
ReportNodeId interface{} // 监控节点ID
IsOk interface{} // 是否可连接
Level interface{} // 级别
CostMs interface{} // 单次连接花费的时间
Error interface{} // 产生的错误信息
CountUp interface{} // 连续上线次数