|
|
@ -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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|