feat: 更新多个模块以支持新的数据结构和日志格式
This commit is contained in:
@@ -3,12 +3,12 @@ package model
|
||||
// MonitorNetwork 监控_网络IO monitor_network
|
||||
type MonitorNetwork struct {
|
||||
ID int64 `json:"id" gorm:"column:id;primaryKey;autoIncrement"`
|
||||
CreateTime int64 `json:"createTime" gorm:"create_time"` // 创建时间
|
||||
Name string `json:"name" gorm:"name"` // 网卡名
|
||||
Up float64 `json:"up" gorm:"up"` // 上行
|
||||
Down float64 `json:"down" gorm:"down"` // 下行
|
||||
NeType string `json:"neType" gorm:"ne_type"` // 网元类型
|
||||
NeID string `json:"neId" gorm:"ne_id"` // 网元ID
|
||||
CreateTime int64 `json:"createTime" gorm:"column:create_time"` // 创建时间
|
||||
Name string `json:"name" gorm:"column:name"` // 网卡名
|
||||
Up float64 `json:"up" gorm:"column:up"` // 上行
|
||||
Down float64 `json:"down" gorm:"column:down"` // 下行
|
||||
NeType string `json:"neType" gorm:"column:ne_type"` // 网元类型
|
||||
NeID string `json:"neId" gorm:"column:ne_id"` // 网元ID
|
||||
}
|
||||
|
||||
// TableName 表名称
|
||||
|
||||
Reference in New Issue
Block a user