deprecated_overflow_gateway.../server/server.go
crusader 02b77bb617 ing
2017-11-09 18:14:57 +09:00

18 lines
293 B
Go

package server
import (
cwf "git.loafle.net/commons_go/websocket_fasthttp"
"git.loafle.net/overflow/overflow_gateway_app/servlet/web"
)
func New() cwf.Server {
sh := newServerHandler()
wsh := web.NewSocketHandler()
sh.RegisterSocketHandler("/web", wsh)
s := cwf.New(sh)
return s
}