deprecated_overflow_gateway.../server/server.go

18 lines
293 B
Go
Raw Normal View History

2017-11-09 09:14:57 +00:00
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
}