rpcpb

package
v1.1.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package rpcpb is a generated protocol buffer package.

It is generated from these files:

rpc/rpc.proto

It has these top-level messages:

RPCInfo
ResultInfo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCInfo

type RPCInfo struct {
	Cid      string   `protobuf:"bytes,1,opt,name=Cid" json:"Cid,omitempty"`
	Fn       string   `protobuf:"bytes,2,opt,name=Fn" json:"Fn,omitempty"`
	ReplyTo  string   `protobuf:"bytes,3,opt,name=ReplyTo" json:"ReplyTo,omitempty"`
	Track    string   `protobuf:"bytes,4,opt,name=track" json:"track,omitempty"`
	Expired  int64    `protobuf:"varint,5,opt,name=Expired" json:"Expired,omitempty"`
	Reply    bool     `protobuf:"varint,6,opt,name=Reply" json:"Reply,omitempty"`
	ArgsType []string `protobuf:"bytes,7,rep,name=ArgsType" json:"ArgsType,omitempty"`
	Args     [][]byte `protobuf:"bytes,8,rep,name=Args,proto3" json:"Args,omitempty"`
}

func (*RPCInfo) Descriptor

func (*RPCInfo) Descriptor() ([]byte, []int)

func (*RPCInfo) GetArgs

func (m *RPCInfo) GetArgs() [][]byte

func (*RPCInfo) GetArgsType

func (m *RPCInfo) GetArgsType() []string

func (*RPCInfo) GetCid

func (m *RPCInfo) GetCid() string

func (*RPCInfo) GetExpired

func (m *RPCInfo) GetExpired() int64

func (*RPCInfo) GetFn

func (m *RPCInfo) GetFn() string

func (*RPCInfo) GetReply

func (m *RPCInfo) GetReply() bool

func (*RPCInfo) GetReplyTo

func (m *RPCInfo) GetReplyTo() string

func (*RPCInfo) GetTrack

func (m *RPCInfo) GetTrack() string

func (*RPCInfo) ProtoMessage

func (*RPCInfo) ProtoMessage()

func (*RPCInfo) Reset

func (m *RPCInfo) Reset()

func (*RPCInfo) String

func (m *RPCInfo) String() string

type ResultInfo

type ResultInfo struct {
	Cid        string `protobuf:"bytes,1,opt,name=Cid" json:"Cid,omitempty"`
	Error      string `protobuf:"bytes,2,opt,name=Error" json:"Error,omitempty"`
	ResultType string `protobuf:"bytes,4,opt,name=ResultType" json:"ResultType,omitempty"`
	Result     []byte `protobuf:"bytes,5,opt,name=Result,proto3" json:"Result,omitempty"`
}

func NewResultInfo

func NewResultInfo(Cid string, Error string, ArgsType string, result []byte) *ResultInfo

func (*ResultInfo) Descriptor

func (*ResultInfo) Descriptor() ([]byte, []int)

func (*ResultInfo) GetCid

func (m *ResultInfo) GetCid() string

func (*ResultInfo) GetError

func (m *ResultInfo) GetError() string

func (*ResultInfo) GetResult

func (m *ResultInfo) GetResult() []byte

func (*ResultInfo) GetResultType

func (m *ResultInfo) GetResultType() string

func (*ResultInfo) ProtoMessage

func (*ResultInfo) ProtoMessage()

func (*ResultInfo) Reset

func (m *ResultInfo) Reset()

func (*ResultInfo) String

func (m *ResultInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL