获取用户所在的连接
(appId uint32, userId string)
| 347 | |
| 348 | // 获取用户所在的连接 |
| 349 | func GetUserClient(appId uint32, userId string) (client *Client) { |
| 350 | client = clientManager.GetUserClient(appId, userId) |
| 351 | |
| 352 | return |
| 353 | } |
| 354 | |
| 355 | // 定时清理超时连接 |
| 356 | func ClearTimeoutConnections() { |
no test coverage detected