diff --git a/internal/server/rpc/rpc_gateway_servlet_context.go b/internal/server/rpc/rpc_gateway_servlet_context.go index 3351880..613c002 100644 --- a/internal/server/rpc/rpc_gateway_servlet_context.go +++ b/internal/server/rpc/rpc_gateway_servlet_context.go @@ -9,7 +9,7 @@ type ServletContext interface { servlet.ServletContext } -func newServletContext(socketCTX cwf.SocketContext) SocketContext { +func newServletContext(socketCTX cwf.SocketContext) ServletContext { sCTX := &servletContext{} sCTX.ServletContext = servlet.NewServletContext(socketCTX) diff --git a/internal/server/rpc/rpc_gateway_servlet_handlers.go b/internal/server/rpc/rpc_gateway_servlet_handlers.go index 62791c8..6e7cc0b 100644 --- a/internal/server/rpc/rpc_gateway_servlet_handlers.go +++ b/internal/server/rpc/rpc_gateway_servlet_handlers.go @@ -47,7 +47,7 @@ func (sh *RPCGatewayServletHandlers) Handshake(serverCTX cwf.ServerContext, ctx return sh.gwRPCHandler.Handshake(serverCTX, ctx) } -func (sh *SocketHandlers) SocketContext(serverCTX cwf.ServerContext) cwf.SocketContext { +func (sh *RPCGatewayServletHandlers) SocketContext(serverCTX cwf.ServerContext) cwf.SocketContext { socketCTX := sh.SocketContext(serverCTX) return newServletContext(socketCTX)