rpc/gateway/server_handlers.go
crusader eac00359db ing
2017-11-09 17:38:02 +09:00

21 lines
384 B
Go

package gateway
import (
"errors"
"git.loafle.net/commons_go/rpc"
)
type ServerHandlers struct {
rpc.ServerHandlers
}
func (sh *ServerHandlers) Invoke(method string, params []string) (result interface{}, err error) {
return nil, errors.New("Server: Handler method[Invoke] of Server is not implement")
}
func (sh *ServerHandlers) Validate() {
sh.ServerHandlers.Validate()
}