ing
This commit is contained in:
parent
5ddd34f39d
commit
d6f1d97687
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user