实现集群看板

This commit is contained in:
GoEdgeLab
2021-07-05 11:37:22 +08:00
parent ed79eba802
commit a539bcfdf8
38 changed files with 1267 additions and 75 deletions

View File

@@ -0,0 +1,24 @@
package models
// ServerStatBoard 服务统计看板
type ServerStatBoard struct {
Id uint64 `field:"id"` // ID
Name string `field:"name"` // 名称
ClusterId uint32 `field:"clusterId"` // 集群ID
IsOn uint8 `field:"isOn"` // 是否启用
Order uint32 `field:"order"` // 排序
State uint8 `field:"state"` // 状态
}
type ServerStatBoardOperator struct {
Id interface{} // ID
Name interface{} // 名称
ClusterId interface{} // 集群ID
IsOn interface{} // 是否启用
Order interface{} // 排序
State interface{} // 状态
}
func NewServerStatBoardOperator() *ServerStatBoardOperator {
return &ServerStatBoardOperator{}
}