Documentation ¶
Overview ¶
Package usercmd is a generated protocol buffer package.
It is generated from these files:
test.proto
It has these top-level messages:
ReqUserLogin
Index ¶
- Variables
- type ReqUserLogin
- func (m *ReqUserLogin) GetAccount() string
- func (m *ReqUserLogin) GetKey() uint32
- func (m *ReqUserLogin) GetPassword() string
- func (m *ReqUserLogin) Marshal() (data []byte, err error)
- func (m *ReqUserLogin) MarshalTo(data []byte) (int, error)
- func (*ReqUserLogin) ProtoMessage()
- func (m *ReqUserLogin) Reset()
- func (m *ReqUserLogin) Size() (n int)
- func (m *ReqUserLogin) String() string
- func (m *ReqUserLogin) Unmarshal(data []byte) error
- type UserCmd
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTest = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTest = fmt.Errorf("proto: integer overflow") )
View Source
var UserCmd_name = map[int32]string{
1: "Login",
}
View Source
var UserCmd_value = map[string]int32{
"Login": 1,
}
Functions ¶
This section is empty.
Types ¶
type ReqUserLogin ¶
type ReqUserLogin struct { Account *string `protobuf:"bytes,1,req,name=Account" json:"Account,omitempty"` Password *string `protobuf:"bytes,2,req,name=Password" json:"Password,omitempty"` Key *uint32 `protobuf:"varint,3,req,name=Key" json:"Key,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ReqUserLogin) GetAccount ¶
func (m *ReqUserLogin) GetAccount() string
func (*ReqUserLogin) GetKey ¶
func (m *ReqUserLogin) GetKey() uint32
func (*ReqUserLogin) GetPassword ¶
func (m *ReqUserLogin) GetPassword() string
func (*ReqUserLogin) Marshal ¶
func (m *ReqUserLogin) Marshal() (data []byte, err error)
func (*ReqUserLogin) ProtoMessage ¶
func (*ReqUserLogin) ProtoMessage()
func (*ReqUserLogin) Reset ¶
func (m *ReqUserLogin) Reset()
func (*ReqUserLogin) Size ¶
func (m *ReqUserLogin) Size() (n int)
func (*ReqUserLogin) String ¶
func (m *ReqUserLogin) String() string
func (*ReqUserLogin) Unmarshal ¶
func (m *ReqUserLogin) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.