feat(api): update server total data response to use 'OnlineUsers' and implement daily traffic statistics logging

This commit is contained in:
Chang lue Tsen
2025-09-01 05:30:05 -04:00
parent 9ff965bbea
commit 4184a32c0f
5 changed files with 124 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ type (
Download int64 `json:"download"`
}
ServerTotalDataResponse {
OnlineUserIPs int64 `json:"online_user_ips"`
OnlineUsers int64 `json:"online_users"`
OnlineServers int64 `json:"online_servers"`
OfflineServers int64 `json:"offline_servers"`
TodayUpload int64 `json:"today_upload"`