mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-16 07:46:35 +08:00
优化看板
This commit is contained in:
@@ -11,6 +11,8 @@ type NodeTrafficHourlyStat struct {
|
||||
CachedBytes uint64 `field:"cachedBytes"` // 缓存流量
|
||||
CountRequests uint64 `field:"countRequests"` // 请求数
|
||||
CountCachedRequests uint64 `field:"countCachedRequests"` // 缓存的请求数
|
||||
CountAttackRequests uint64 `field:"countAttackRequests"` // 攻击请求数
|
||||
AttackBytes uint64 `field:"attackBytes"` // 攻击流量
|
||||
}
|
||||
|
||||
type NodeTrafficHourlyStatOperator struct {
|
||||
@@ -23,6 +25,8 @@ type NodeTrafficHourlyStatOperator struct {
|
||||
CachedBytes interface{} // 缓存流量
|
||||
CountRequests interface{} // 请求数
|
||||
CountCachedRequests interface{} // 缓存的请求数
|
||||
CountAttackRequests interface{} // 攻击请求数
|
||||
AttackBytes interface{} // 攻击流量
|
||||
}
|
||||
|
||||
func NewNodeTrafficHourlyStatOperator() *NodeTrafficHourlyStatOperator {
|
||||
|
||||
Reference in New Issue
Block a user