member_gateway_rpc/server/server.go
crusader 5e46d9e576 ing
2018-04-09 22:37:03 +09:00

19 lines
311 B
Go

package server
import (
csgw "git.loafle.net/commons/server-go/socket/web"
"git.loafle.net/overflow/member_gateway_rpc/servlet"
)
func New() *csgw.Server {
ws := &servlet.WebappServlets{}
sh := &ServerHandlers{}
sh.RegisterServlet("/webapp", ws)
s := &csgw.Server{
ServerHandler: sh,
}
return s
}