mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-01-03 22:06:36 +08:00
对统计指标进行分表
This commit is contained in:
@@ -19,6 +19,7 @@ type MetricItem struct {
|
||||
State uint8 `field:"state"` // 状态
|
||||
Version uint32 `field:"version"` // 版本号
|
||||
IsPublic bool `field:"isPublic"` // 是否为公用
|
||||
LastTime string `field:"lastTime"` // 最新时间
|
||||
}
|
||||
|
||||
type MetricItemOperator struct {
|
||||
@@ -37,6 +38,7 @@ type MetricItemOperator struct {
|
||||
State interface{} // 状态
|
||||
Version interface{} // 版本号
|
||||
IsPublic interface{} // 是否为公用
|
||||
LastTime interface{} // 最新时间
|
||||
}
|
||||
|
||||
func NewMetricItemOperator() *MetricItemOperator {
|
||||
|
||||
Reference in New Issue
Block a user