This commit is contained in:
crusader 2018-03-23 17:34:17 +09:00
parent 535f6dbd23
commit 1c278bf60a

View File

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