Documentation ¶
Overview ¶
Package rpcmsg is a generated protocol buffer package.
It is generated from these files:
rpc/rpcmsg/rpc.proto
It has these top-level messages:
Data
Index ¶
- Variables
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetData() []byte
- func (m *Data) GetMsgid() uint32
- func (m *Data) GetSenderid() int32
- func (m *Data) GetSeqid() int32
- func (m *Data) GetSesid() int32
- func (m *Data) GetType() Data_Type
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- type Data_Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Data_Type_name = map[int32]string{
0: "Invalid",
1: "Request",
2: "Response",
3: "Session2Server",
4: "Server2Session",
5: "Server2Server",
}
View Source
var Data_Type_value = map[string]int32{
"Invalid": 0,
"Request": 1,
"Response": 2,
"Session2Server": 3,
"Server2Session": 4,
"Server2Server": 5,
}
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Type Data_Type `protobuf:"varint,1,opt,name=type,enum=rpcmsg.Data_Type" json:"type,omitempty"` Seqid int32 `protobuf:"varint,2,opt,name=seqid" json:"seqid,omitempty"` Sesid int32 `protobuf:"varint,3,opt,name=sesid" json:"sesid,omitempty"` Senderid int32 `protobuf:"varint,4,opt,name=senderid" json:"senderid,omitempty"` Msgid uint32 `protobuf:"varint,5,opt,name=msgid" json:"msgid,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` }
func (*Data) Descriptor ¶
func (*Data) GetSenderid ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.