mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-09-19 09:32:29 +08:00
27 lines
1.3 KiB
Go
27 lines
1.3 KiB
Go
package response
|
|
|
|
import (
|
|
"SamWaf/model"
|
|
"SamWaf/model/wafenginmodel"
|
|
)
|
|
|
|
type HostTodayStat struct {
|
|
TodayPvCount int64 `json:"today_pv_count"` //今日PV
|
|
TodayUvCount int64 `json:"today_uv_count"` //今日UV
|
|
TodayAttackCount int64 `json:"today_attack_count"` //今日拦截数
|
|
TodayTrafficIn int64 `json:"today_traffic_in"` //今日入站流量(bytes)
|
|
TodayTrafficOut int64 `json:"today_traffic_out"` //今日出站流量(bytes)
|
|
}
|
|
|
|
type HostRep struct {
|
|
model.Hosts
|
|
RealTimeQps int `json:"real_time_qps"` //实时信息QPS
|
|
RealTimeConnectCnt int `json:"real_time_connect_cnt"` //实时连接数量
|
|
TodayPvCount int64 `json:"today_pv_count"` //今日PV
|
|
TodayUvCount int64 `json:"today_uv_count"` //今日UV
|
|
TodayAttackCount int64 `json:"today_attack_count"` //今日拦截数
|
|
TodayTrafficIn int64 `json:"today_traffic_in"` //今日入站流量(bytes)
|
|
TodayTrafficOut int64 `json:"today_traffic_out"` //今日出站流量(bytes)
|
|
HealthyStatus []wafenginmodel.HostHealthy `json:"healthy_status"` //当前健康情况
|
|
}
|