overflow_gateway_websocket/server/server_context.go
crusader ecd5ad53bf ing
2017-11-28 02:12:26 +09:00

21 lines
324 B
Go

package server
import (
cwf "git.loafle.net/commons_go/websocket_fasthttp"
)
type ServerContext interface {
cwf.ServerContext
}
type serverContext struct {
cwf.ServerContext
}
func NewServerContext(serverCTX cwf.ServerContext) ServerContext {
sCTX := &serverContext{}
sCTX.ServerContext = serverCTX
return sCTX
}