ing
This commit is contained in:
parent
535f6dbd23
commit
1c278bf60a
|
@ -5,6 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/valyala/fasthttp"
|
"github.com/valyala/fasthttp"
|
||||||
|
|
||||||
|
"git.loafle.net/commons_go/logging"
|
||||||
cRPC "git.loafle.net/commons_go/rpc"
|
cRPC "git.loafle.net/commons_go/rpc"
|
||||||
"git.loafle.net/commons_go/rpc/protocol/json"
|
"git.loafle.net/commons_go/rpc/protocol/json"
|
||||||
crsrwf "git.loafle.net/commons_go/rpc/server/rwc/websocket/fasthttp"
|
crsrwf "git.loafle.net/commons_go/rpc/server/rwc/websocket/fasthttp"
|
||||||
|
@ -79,6 +80,7 @@ func (sh *RPCGatewayServletHandlers) Handle(soc cwf.Socket, stopChan <-chan stru
|
||||||
rpcDoneChan := make(chan error, 1)
|
rpcDoneChan := make(chan error, 1)
|
||||||
|
|
||||||
if err = rpcServlet.Start(soc.Context(), soc, rpcDoneChan); nil != err {
|
if err = rpcServlet.Start(soc.Context(), soc, rpcDoneChan); nil != err {
|
||||||
|
logging.Logger().Errorf("Gateway Websocket: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user