Files
SamWaf/model/response/host_resp.go
T
2026-03-10 16:54:05 +08:00

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"` //当前健康情况
}