overflow_discovery/server/rpc_servlet_handlers.go
crusader 95adf7ec26 ing
2017-11-30 19:16:55 +09:00

23 lines
388 B
Go

package server
import (
"git.loafle.net/commons_go/rpc"
"git.loafle.net/commons_go/rpc/server"
)
func newRPCServletHandler(rpcRegistry rpc.Registry) server.ServletHandler {
sh := &RPCServletHandlers{}
sh.RPCRegistry = rpcRegistry
return sh
}
type RPCServletHandlers struct {
server.ServletHandlers
}
func (sh *RPCServletHandlers) Validate() {
sh.ServletHandlers.Validate()
}