overflow_gateway_websocket/server/server_context.go
crusader b2bfe5bb2d ing
2017-11-27 20:54:15 +09:00

22 lines
380 B
Go

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