mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-28 12:56:35 +08:00
ws update
This commit is contained in:
parent
889e6b0d84
commit
6382528360
@ -3,7 +3,6 @@ package msggateway
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
|
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/tokenverify"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/tokenverify"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/errs"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/errs"
|
||||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/rpcclient/notification"
|
"github.com/OpenIMSDK/Open-IM-Server/pkg/rpcclient/notification"
|
||||||
@ -53,7 +52,6 @@ type WsServer struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (ws *WsServer) SetMessageHandler(rpcClient *notification.Check) {
|
func (ws *WsServer) SetMessageHandler(rpcClient *notification.Check) {
|
||||||
log.ZDebug(nil, "msggateway SetMessageHandler", "rpcClient", rpcClient)
|
|
||||||
ws.MessageHandler = NewGrpcHandler(ws.validate, rpcClient)
|
ws.MessageHandler = NewGrpcHandler(ws.validate, rpcClient)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user