Documentation ¶
Index ¶
- Variables
- type AccountType
- type RespontInfo
- func (*RespontInfo) Descriptor() ([]byte, []int)
- func (m *RespontInfo) GetServerAddr() string
- func (m *RespontInfo) Marshal() (dAtA []byte, err error)
- func (m *RespontInfo) MarshalTo(dAtA []byte) (int, error)
- func (*RespontInfo) ProtoMessage()
- func (m *RespontInfo) Reset()
- func (m *RespontInfo) Size() (n int)
- func (m *RespontInfo) String() string
- func (m *RespontInfo) Unmarshal(dAtA []byte) error
- func (m *RespontInfo) XXX_DiscardUnknown()
- func (m *RespontInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespontInfo) XXX_Merge(src proto.Message)
- func (m *RespontInfo) XXX_Size() int
- func (m *RespontInfo) XXX_Unmarshal(b []byte) error
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)
- func (m *UserInfo) GetAccount() string
- func (m *UserInfo) GetAccountType() AccountType
- func (m *UserInfo) GetDevice() string
- func (m *UserInfo) GetHardInfo() string
- func (m *UserInfo) GetIccid() string
- func (m *UserInfo) GetImei() string
- func (m *UserInfo) GetImsi() string
- func (m *UserInfo) GetMeid() string
- func (m *UserInfo) GetOsInfo() string
- func (m *UserInfo) GetPlatform() string
- func (m *UserInfo) GetReserve1() string
- func (m *UserInfo) GetReserve2() string
- func (m *UserInfo) GetReserve3() string
- func (m *UserInfo) GetReserve4() string
- func (m *UserInfo) GetReserve5() string
- func (m *UserInfo) GetReserve6() string
- func (m *UserInfo) GetReserve7() string
- func (m *UserInfo) GetReserve8() string
- func (m *UserInfo) GetSeriesNumber() string
- func (m *UserInfo) GetVersion() string
- func (m *UserInfo) Marshal() (dAtA []byte, err error)
- func (m *UserInfo) MarshalTo(dAtA []byte) (int, error)
- func (*UserInfo) ProtoMessage()
- func (m *UserInfo) Reset()
- func (m *UserInfo) Size() (n int)
- func (m *UserInfo) String() string
- func (m *UserInfo) Unmarshal(dAtA []byte) error
- func (m *UserInfo) XXX_DiscardUnknown()
- func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserInfo) XXX_Merge(src proto.Message)
- func (m *UserInfo) XXX_Size() int
- func (m *UserInfo) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAccountinfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccountinfo = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthRespont = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRespont = fmt.Errorf("proto: integer overflow") )
View Source
var AccountType_name = map[int32]string{
0: "USERDEFINED",
1: "MOBILE",
2: "EMAIL",
3: "HARDINFO",
4: "RESERVE1",
5: "RESERVE2",
6: "RESERVE3",
}
View Source
var AccountType_value = map[string]int32{
"USERDEFINED": 0,
"MOBILE": 1,
"EMAIL": 2,
"HARDINFO": 3,
"RESERVE1": 4,
"RESERVE2": 5,
"RESERVE3": 6,
}
Functions ¶
This section is empty.
Types ¶
type AccountType ¶
type AccountType int32
账号类型
const ( AccountType_USERDEFINED AccountType = 0 AccountType_MOBILE AccountType = 1 AccountType_EMAIL AccountType = 2 AccountType_HARDINFO AccountType = 3 AccountType_RESERVE1 AccountType = 4 AccountType_RESERVE2 AccountType = 5 AccountType_RESERVE3 AccountType = 6 )
func (AccountType) EnumDescriptor ¶
func (AccountType) EnumDescriptor() ([]byte, []int)
func (AccountType) String ¶
func (x AccountType) String() string
type RespontInfo ¶
type RespontInfo struct { ServerAddr string `protobuf:"bytes,1,opt,name=serverAddr,proto3" json:"serverAddr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
账号
func (*RespontInfo) Descriptor ¶
func (*RespontInfo) Descriptor() ([]byte, []int)
func (*RespontInfo) GetServerAddr ¶
func (m *RespontInfo) GetServerAddr() string
func (*RespontInfo) Marshal ¶
func (m *RespontInfo) Marshal() (dAtA []byte, err error)
func (*RespontInfo) ProtoMessage ¶
func (*RespontInfo) ProtoMessage()
func (*RespontInfo) Reset ¶
func (m *RespontInfo) Reset()
func (*RespontInfo) Size ¶
func (m *RespontInfo) Size() (n int)
func (*RespontInfo) String ¶
func (m *RespontInfo) String() string
func (*RespontInfo) Unmarshal ¶
func (m *RespontInfo) Unmarshal(dAtA []byte) error
func (*RespontInfo) XXX_DiscardUnknown ¶
func (m *RespontInfo) XXX_DiscardUnknown()
func (*RespontInfo) XXX_Marshal ¶
func (m *RespontInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RespontInfo) XXX_Merge ¶
func (m *RespontInfo) XXX_Merge(src proto.Message)
func (*RespontInfo) XXX_Size ¶
func (m *RespontInfo) XXX_Size() int
func (*RespontInfo) XXX_Unmarshal ¶
func (m *RespontInfo) XXX_Unmarshal(b []byte) error
type UserInfo ¶
type UserInfo struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` AccountType AccountType `protobuf:"varint,2,opt,name=accountType,proto3,enum=gateway.AccountType" json:"accountType,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"` HardInfo string `protobuf:"bytes,5,opt,name=hardInfo,proto3" json:"hardInfo,omitempty"` Device string `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty"` OsInfo string `protobuf:"bytes,7,opt,name=osInfo,proto3" json:"osInfo,omitempty"` Imei string `protobuf:"bytes,8,opt,name=imei,proto3" json:"imei,omitempty"` Meid string `protobuf:"bytes,9,opt,name=meid,proto3" json:"meid,omitempty"` Imsi string `protobuf:"bytes,10,opt,name=imsi,proto3" json:"imsi,omitempty"` Iccid string `protobuf:"bytes,11,opt,name=iccid,proto3" json:"iccid,omitempty"` SeriesNumber string `protobuf:"bytes,12,opt,name=seriesNumber,proto3" json:"seriesNumber,omitempty"` Reserve1 string `protobuf:"bytes,13,opt,name=reserve1,proto3" json:"reserve1,omitempty"` Reserve2 string `protobuf:"bytes,14,opt,name=reserve2,proto3" json:"reserve2,omitempty"` Reserve3 string `protobuf:"bytes,15,opt,name=reserve3,proto3" json:"reserve3,omitempty"` Reserve4 string `protobuf:"bytes,16,opt,name=reserve4,proto3" json:"reserve4,omitempty"` Reserve5 string `protobuf:"bytes,17,opt,name=reserve5,proto3" json:"reserve5,omitempty"` Reserve6 string `protobuf:"bytes,18,opt,name=reserve6,proto3" json:"reserve6,omitempty"` Reserve7 string `protobuf:"bytes,19,opt,name=reserve7,proto3" json:"reserve7,omitempty"` Reserve8 string `protobuf:"bytes,20,opt,name=reserve8,proto3" json:"reserve8,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
账号
func (*UserInfo) Descriptor ¶
func (*UserInfo) GetAccount ¶
func (*UserInfo) GetAccountType ¶
func (m *UserInfo) GetAccountType() AccountType
func (*UserInfo) GetHardInfo ¶
func (*UserInfo) GetPlatform ¶
func (*UserInfo) GetReserve1 ¶
func (*UserInfo) GetReserve2 ¶
func (*UserInfo) GetReserve3 ¶
func (*UserInfo) GetReserve4 ¶
func (*UserInfo) GetReserve5 ¶
func (*UserInfo) GetReserve6 ¶
func (*UserInfo) GetReserve7 ¶
func (*UserInfo) GetReserve8 ¶
func (*UserInfo) GetSeriesNumber ¶
func (*UserInfo) GetVersion ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) XXX_DiscardUnknown ¶
func (m *UserInfo) XXX_DiscardUnknown()
func (*UserInfo) XXX_Marshal ¶
func (*UserInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.