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() }