Documentation ¶
Overview ¶
Package MSG_Server is a generated protocol buffer package.
It is generated from these files:
MSG_Server.proto
It has these top-level messages:
CS_ServerRegister_Req SC_ServerRegister_Rsp
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCode_name = map[int32]string{
0: "Invalid",
1: "Success",
2: "Fail",
}
View Source
var ErrorCode_value = map[string]int32{
"Invalid": 0,
"Success": 1,
"Fail": 2,
}
View Source
var SUBMSG_name = map[int32]string{
0: "Begin",
1: "CS_ServerRegister",
2: "SC_ServerRegister",
}
View Source
var SUBMSG_value = map[string]int32{
"Begin": 0,
"CS_ServerRegister": 1,
"SC_ServerRegister": 2,
}
Functions ¶
This section is empty.
Types ¶
type CS_ServerRegister_Req ¶
type CS_ServerRegister_Req struct { ServerType int32 `protobuf:"varint,1,opt,name=ServerType" json:"ServerType,omitempty"` Msgs []uint32 `protobuf:"varint,2,rep,name=Msgs" json:"Msgs,omitempty"` }
CS_ServerRegister
func (*CS_ServerRegister_Req) Descriptor ¶
func (*CS_ServerRegister_Req) Descriptor() ([]byte, []int)
func (*CS_ServerRegister_Req) ProtoMessage ¶
func (*CS_ServerRegister_Req) ProtoMessage()
func (*CS_ServerRegister_Req) Reset ¶
func (m *CS_ServerRegister_Req) Reset()
func (*CS_ServerRegister_Req) String ¶
func (m *CS_ServerRegister_Req) String() string
type SC_ServerRegister_Rsp ¶
type SC_ServerRegister_Rsp struct { Ret ErrorCode `protobuf:"varint,1,opt,name=Ret,enum=MSG_Server.ErrorCode" json:"Ret,omitempty"` Identify string `protobuf:"bytes,2,opt,name=Identify" json:"Identify,omitempty"` }
SC_ServerRegister
func (*SC_ServerRegister_Rsp) Descriptor ¶
func (*SC_ServerRegister_Rsp) Descriptor() ([]byte, []int)
func (*SC_ServerRegister_Rsp) ProtoMessage ¶
func (*SC_ServerRegister_Rsp) ProtoMessage()
func (*SC_ServerRegister_Rsp) Reset ¶
func (m *SC_ServerRegister_Rsp) Reset()
func (*SC_ServerRegister_Rsp) String ¶
func (m *SC_ServerRegister_Rsp) String() string
Click to show internal directories.
Click to hide internal directories.