overflow_discovery/server/rpc_servlet_handlers.go

23 lines
388 B
Go
Raw Normal View History

2017-11-29 00:36:19 +00:00
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()
}