20 lines
309 B
Go
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
|
|
}
|
|
|