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 ¶
- type RPCInfo
- func (*RPCInfo) Descriptor() ([]byte, []int)
- func (m *RPCInfo) GetArgs() [][]byte
- func (m *RPCInfo) GetArgsType() []string
- func (m *RPCInfo) GetCid() string
- func (m *RPCInfo) GetExpired() int64
- func (m *RPCInfo) GetFn() string
- func (m *RPCInfo) GetReply() bool
- func (m *RPCInfo) GetReplyTo() string
- func (m *RPCInfo) GetTrack() string
- func (*RPCInfo) ProtoMessage()
- func (m *RPCInfo) Reset()
- func (m *RPCInfo) String() string
- type ResultInfo
- func (*ResultInfo) Descriptor() ([]byte, []int)
- func (m *ResultInfo) GetCid() string
- func (m *ResultInfo) GetError() string
- func (m *ResultInfo) GetResult() []byte
- func (m *ResultInfo) GetResultType() string
- func (*ResultInfo) ProtoMessage()
- func (m *ResultInfo) Reset()
- func (m *ResultInfo) String() string
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) GetArgsType ¶
func (*RPCInfo) GetExpired ¶
func (*RPCInfo) GetReplyTo ¶
func (*RPCInfo) ProtoMessage ¶
func (*RPCInfo) ProtoMessage()
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
Click to show internal directories.
Click to hide internal directories.