overflow_gateway_websocket/servlet/servlet_context.go
crusader c977d2c651 ing
2017-11-28 19:07:31 +09:00

21 lines
330 B
Go

package servlet
import (
cwf "git.loafle.net/commons_go/websocket_fasthttp"
)
type ServletContext interface {
cwf.SocketContext
}
func NewServletContext(socketCTX cwf.SocketContext) ServletContext {
sCTX := &servletContext{}
sCTX.SocketContext = socketCTX
return sCTX
}
type servletContext struct {
cwf.SocketContext
}