注释
This commit is contained in:
@@ -333,7 +333,7 @@ func (c *WebSocketController) SendMessageHandler(ctx *gin.Context) {
|
||||
ctx.JSON(http.StatusBadRequest, gin.H{"error": "不支持的request_type"})
|
||||
}
|
||||
|
||||
// 用户绑定处理器
|
||||
// BindHandler 用户绑定处理器
|
||||
func (c *WebSocketController) BindHandler(ctx *gin.Context) {
|
||||
start := time.Now()
|
||||
|
||||
@@ -367,7 +367,7 @@ func (c *WebSocketController) BindHandler(ctx *gin.Context) {
|
||||
req.UserID, req.ClientID, time.Since(start))
|
||||
}
|
||||
|
||||
// 通过用户ID发送消息处理器
|
||||
// SendToUserHandler 通过用户ID发送消息处理器
|
||||
func (c *WebSocketController) SendToUserHandler(ctx *gin.Context) {
|
||||
start := time.Now()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user