overflow_gateway_websocket/server/server.go

16 lines
222 B
Go
Raw Normal View History

2017-11-10 13:24:10 +00:00
package server
import (
2017-11-14 03:03:16 +00:00
cwf "git.loafle.net/commons_go/websocket_fasthttp"
2017-11-10 13:24:10 +00:00
)
2017-11-27 11:54:15 +00:00
func New(serverCTX ServerContext, sh ServerHandler) Server {
s := cwf.New(serverCTX, sh)
2017-11-14 03:03:16 +00:00
return s
2017-11-10 13:24:10 +00:00
}
2017-11-14 06:02:42 +00:00
type Server interface {
cwf.Server
}