This commit is contained in:
laodaming
2023-11-01 14:35:37 +08:00
parent 91b45e3595
commit 347cfdeaef
5 changed files with 69 additions and 16 deletions

View File

@@ -52,11 +52,13 @@ type CloseWebsocketReq {
}
//获取ws统计信息
type GetStatReq {
Password string `form:"password"`
Password string `form:"password"`
UserKey []string `form:"user_key,optional"`
}
type GetStatRsp {
WsTotalCount int `json:"ws_total_count"` //ws连接总数
CurCombineCount int `json:"cur_combine_count"` //合图任务数
CombineErrorCount int `json:"combine_error_count"` //合图失败数
CurUnityHandleCount int `json:"cur_unity_handle_count"` //当前unity请求总数
UserWsStat interface{} `json:"user_ws_stat"` //用户连接统计
}