rpc/gateway/server_handlers.go
crusader b284554280 ing
2017-11-08 15:35:27 +09:00

21 lines
382 B
Go

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