member_gateway_rpc/server/server.go
2018-04-06 22:01:28 +09:00

20 lines
309 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 {
rs := &servlet.RPCServlets{}
sh := &ServerHandlers{}
sh.RegisterServlet("/webapp", rs)
s := &csgw.Server{
ServerHandler: sh,
}
return s
}