feat(traffic): add protocol handling and update traffic statistics calculation

This commit is contained in:
Chang lue Tsen
2025-09-28 11:31:21 -04:00
parent 5aa9bb61b7
commit d74d636735
3 changed files with 51 additions and 21 deletions
+1
View File
@@ -10,6 +10,7 @@ type UserTraffic struct {
type TrafficStatistics struct {
ServerId int64 `json:"server_id"`
Protocol string `json:"protocol"`
Logs []UserTraffic `json:"logs"`
}