Documentation ¶
Overview ¶
Package MSG_Login is a generated protocol buffer package.
It is generated from these files:
MSG_Login.proto
It has these top-level messages:
CS_UserBind_Req CS_UserRegister_Req SC_UserRegister_Rsp CS_Login_Req SC_Login_Rsp
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCode_name = map[int32]string{
0: "Invalid",
1: "Success",
2: "Fail",
3: "UserNotExistOrPasswdErr",
}
View Source
var ErrorCode_value = map[string]int32{
"Invalid": 0,
"Success": 1,
"Fail": 2,
"UserNotExistOrPasswdErr": 3,
}
View Source
var SUBMSG_name = map[int32]string{
0: "Begin",
1: "CS_UserBind",
2: "SC_UserBind",
3: "CS_UserRegister",
4: "SC_UserRegister",
5: "CS_Login",
6: "SC_Login",
}
View Source
var SUBMSG_value = map[string]int32{
"Begin": 0,
"CS_UserBind": 1,
"SC_UserBind": 2,
"CS_UserRegister": 3,
"SC_UserRegister": 4,
"CS_Login": 5,
"SC_Login": 6,
}
Functions ¶
This section is empty.
Types ¶
type CS_Login_Req ¶
type CS_Login_Req struct { Account string `protobuf:"bytes,1,opt,name=Account" json:"Account,omitempty"` Passwd string `protobuf:"bytes,2,opt,name=Passwd" json:"Passwd,omitempty"` DeviceSerial string `protobuf:"bytes,3,opt,name=DeviceSerial" json:"DeviceSerial,omitempty"` DeviceName string `protobuf:"bytes,4,opt,name=DeviceName" json:"DeviceName,omitempty"` }
CS_Login
func (*CS_Login_Req) Descriptor ¶
func (*CS_Login_Req) Descriptor() ([]byte, []int)
func (*CS_Login_Req) ProtoMessage ¶
func (*CS_Login_Req) ProtoMessage()
func (*CS_Login_Req) Reset ¶
func (m *CS_Login_Req) Reset()
func (*CS_Login_Req) String ¶
func (m *CS_Login_Req) String() string
type CS_UserBind_Req ¶
type CS_UserBind_Req struct { Account string `protobuf:"bytes,1,opt,name=Account" json:"Account,omitempty"` Passwd string `protobuf:"bytes,2,opt,name=Passwd" json:"Passwd,omitempty"` }
CS_UserBind
func (*CS_UserBind_Req) Descriptor ¶
func (*CS_UserBind_Req) Descriptor() ([]byte, []int)
func (*CS_UserBind_Req) ProtoMessage ¶
func (*CS_UserBind_Req) ProtoMessage()
func (*CS_UserBind_Req) Reset ¶
func (m *CS_UserBind_Req) Reset()
func (*CS_UserBind_Req) String ¶
func (m *CS_UserBind_Req) String() string
type CS_UserRegister_Req ¶
type CS_UserRegister_Req struct { Account string `protobuf:"bytes,1,opt,name=Account" json:"Account,omitempty"` Passwd string `protobuf:"bytes,2,opt,name=Passwd" json:"Passwd,omitempty"` DeviceSerial string `protobuf:"bytes,3,opt,name=DeviceSerial" json:"DeviceSerial,omitempty"` DeviceName string `protobuf:"bytes,4,opt,name=DeviceName" json:"DeviceName,omitempty"` }
CS_UserRegister
func (*CS_UserRegister_Req) Descriptor ¶
func (*CS_UserRegister_Req) Descriptor() ([]byte, []int)
func (*CS_UserRegister_Req) ProtoMessage ¶
func (*CS_UserRegister_Req) ProtoMessage()
func (*CS_UserRegister_Req) Reset ¶
func (m *CS_UserRegister_Req) Reset()
func (*CS_UserRegister_Req) String ¶
func (m *CS_UserRegister_Req) String() string
type SC_Login_Rsp ¶
type SC_Login_Rsp struct {
Ret ErrorCode `protobuf:"varint,1,opt,name=Ret,enum=MSG_Login.ErrorCode" json:"Ret,omitempty"`
}
SC_Login
func (*SC_Login_Rsp) Descriptor ¶
func (*SC_Login_Rsp) Descriptor() ([]byte, []int)
func (*SC_Login_Rsp) ProtoMessage ¶
func (*SC_Login_Rsp) ProtoMessage()
func (*SC_Login_Rsp) Reset ¶
func (m *SC_Login_Rsp) Reset()
func (*SC_Login_Rsp) String ¶
func (m *SC_Login_Rsp) String() string
type SC_UserRegister_Rsp ¶
type SC_UserRegister_Rsp struct {
Ret ErrorCode `protobuf:"varint,1,opt,name=Ret,enum=MSG_Login.ErrorCode" json:"Ret,omitempty"`
}
SC_UserRegister
func (*SC_UserRegister_Rsp) Descriptor ¶
func (*SC_UserRegister_Rsp) Descriptor() ([]byte, []int)
func (*SC_UserRegister_Rsp) ProtoMessage ¶
func (*SC_UserRegister_Rsp) ProtoMessage()
func (*SC_UserRegister_Rsp) Reset ¶
func (m *SC_UserRegister_Rsp) Reset()
func (*SC_UserRegister_Rsp) String ¶
func (m *SC_UserRegister_Rsp) String() string
Click to show internal directories.
Click to hide internal directories.