package registry import ( "fmt" "git.loafle.net/commons_go/rpc/protocol" ) type RPCGateway struct { } func (rg *RPCGateway) HasMethod(method string) bool { return false } func (rg *RPCGateway) Invoke(codec protocol.RegistryCodec) (result interface{}, err error) { return nil, fmt.Errorf("RPC Gateway: Invoke is not implemented") }