Documentation ¶
Overview ¶
Package model is a generated protocol buffer package.
It is generated from these files:
model.proto
It has these top-level messages:
CookieProto TokenProto RefreshProto UserBaseProto UserEmailProto UserTelProto UserRegOriginProto UserSafeQuestionProto UserThirdBindProto
Index ¶
- Variables
- type Cookie
- type CookieProto
- func (*CookieProto) Descriptor() ([]byte, []int)
- func (m *CookieProto) GetCSRF() string
- func (m *CookieProto) GetExpires() int64
- func (m *CookieProto) GetMid() int64
- func (m *CookieProto) GetSession() string
- func (m *CookieProto) GetType() int64
- func (m *CookieProto) Marshal() (dAtA []byte, err error)
- func (m *CookieProto) MarshalTo(dAtA []byte) (int, error)
- func (*CookieProto) ProtoMessage()
- func (m *CookieProto) Reset()
- func (m *CookieProto) Size() (n int)
- func (m *CookieProto) String() string
- func (m *CookieProto) Unmarshal(dAtA []byte) error
- type DecodeUser
- type OldCookie
- type OldToken
- type ParamLogin
- type ParamModifyAuth
- type RSAKey
- type Refresh
- type RefreshProto
- func (*RefreshProto) Descriptor() ([]byte, []int)
- func (m *RefreshProto) GetAppID() int64
- func (m *RefreshProto) GetExpires() int64
- func (m *RefreshProto) GetMid() int64
- func (m *RefreshProto) GetRefresh() string
- func (m *RefreshProto) GetToken() string
- func (m *RefreshProto) Marshal() (dAtA []byte, err error)
- func (m *RefreshProto) MarshalTo(dAtA []byte) (int, error)
- func (*RefreshProto) ProtoMessage()
- func (m *RefreshProto) Reset()
- func (m *RefreshProto) Size() (n int)
- func (m *RefreshProto) String() string
- func (m *RefreshProto) Unmarshal(dAtA []byte) error
- type RefreshTokenResp
- type Secret
- type Token
- type TokenProto
- func (*TokenProto) Descriptor() ([]byte, []int)
- func (m *TokenProto) GetAppID() int64
- func (m *TokenProto) GetExpires() int64
- func (m *TokenProto) GetMid() int64
- func (m *TokenProto) GetToken() string
- func (m *TokenProto) GetType() int64
- func (m *TokenProto) Marshal() (dAtA []byte, err error)
- func (m *TokenProto) MarshalTo(dAtA []byte) (int, error)
- func (*TokenProto) ProtoMessage()
- func (m *TokenProto) Reset()
- func (m *TokenProto) Size() (n int)
- func (m *TokenProto) String() string
- func (m *TokenProto) Unmarshal(dAtA []byte) error
- type User
- type UserBaseProto
- func (*UserBaseProto) Descriptor() ([]byte, []int)
- func (m *UserBaseProto) GetMid() int64
- func (m *UserBaseProto) GetPwd() []byte
- func (m *UserBaseProto) GetSalt() string
- func (m *UserBaseProto) GetStatus() int32
- func (m *UserBaseProto) GetUserID() string
- func (m *UserBaseProto) Marshal() (dAtA []byte, err error)
- func (m *UserBaseProto) MarshalTo(dAtA []byte) (int, error)
- func (*UserBaseProto) ProtoMessage()
- func (m *UserBaseProto) Reset()
- func (m *UserBaseProto) Size() (n int)
- func (m *UserBaseProto) String() string
- func (m *UserBaseProto) Unmarshal(dAtA []byte) error
- type UserEmailProto
- func (*UserEmailProto) Descriptor() ([]byte, []int)
- func (m *UserEmailProto) GetEmail() []byte
- func (m *UserEmailProto) GetEmailBindTime() int64
- func (m *UserEmailProto) GetMid() int64
- func (m *UserEmailProto) GetVerified() int32
- func (m *UserEmailProto) Marshal() (dAtA []byte, err error)
- func (m *UserEmailProto) MarshalTo(dAtA []byte) (int, error)
- func (*UserEmailProto) ProtoMessage()
- func (m *UserEmailProto) Reset()
- func (m *UserEmailProto) Size() (n int)
- func (m *UserEmailProto) String() string
- func (m *UserEmailProto) Unmarshal(dAtA []byte) error
- type UserRegOriginProto
- func (*UserRegOriginProto) Descriptor() ([]byte, []int)
- func (m *UserRegOriginProto) GetAppID() int64
- func (m *UserRegOriginProto) GetJoinIP() int64
- func (m *UserRegOriginProto) GetJoinTime() int64
- func (m *UserRegOriginProto) GetMid() int64
- func (m *UserRegOriginProto) GetOrigin() int32
- func (m *UserRegOriginProto) GetRegType() int32
- func (m *UserRegOriginProto) Marshal() (dAtA []byte, err error)
- func (m *UserRegOriginProto) MarshalTo(dAtA []byte) (int, error)
- func (*UserRegOriginProto) ProtoMessage()
- func (m *UserRegOriginProto) Reset()
- func (m *UserRegOriginProto) Size() (n int)
- func (m *UserRegOriginProto) String() string
- func (m *UserRegOriginProto) Unmarshal(dAtA []byte) error
- type UserSafeQuestionProto
- func (*UserSafeQuestionProto) Descriptor() ([]byte, []int)
- func (m *UserSafeQuestionProto) GetMid() int64
- func (m *UserSafeQuestionProto) GetSafeAnswer() []byte
- func (m *UserSafeQuestionProto) GetSafeBindTime() int64
- func (m *UserSafeQuestionProto) GetSafeQuestion() int32
- func (m *UserSafeQuestionProto) Marshal() (dAtA []byte, err error)
- func (m *UserSafeQuestionProto) MarshalTo(dAtA []byte) (int, error)
- func (*UserSafeQuestionProto) ProtoMessage()
- func (m *UserSafeQuestionProto) Reset()
- func (m *UserSafeQuestionProto) Size() (n int)
- func (m *UserSafeQuestionProto) String() string
- func (m *UserSafeQuestionProto) Unmarshal(dAtA []byte) error
- type UserTelProto
- func (*UserTelProto) Descriptor() ([]byte, []int)
- func (m *UserTelProto) GetCid() string
- func (m *UserTelProto) GetMid() int64
- func (m *UserTelProto) GetTel() []byte
- func (m *UserTelProto) GetTelBindTime() int64
- func (m *UserTelProto) Marshal() (dAtA []byte, err error)
- func (m *UserTelProto) MarshalTo(dAtA []byte) (int, error)
- func (*UserTelProto) ProtoMessage()
- func (m *UserTelProto) Reset()
- func (m *UserTelProto) Size() (n int)
- func (m *UserTelProto) String() string
- func (m *UserTelProto) Unmarshal(dAtA []byte) error
- type UserThirdBindProto
- func (*UserThirdBindProto) Descriptor() ([]byte, []int)
- func (m *UserThirdBindProto) GetExpires() int64
- func (m *UserThirdBindProto) GetID() int64
- func (m *UserThirdBindProto) GetMid() int64
- func (m *UserThirdBindProto) GetOpenID() string
- func (m *UserThirdBindProto) GetPlatForm() int64
- func (m *UserThirdBindProto) GetToken() string
- func (m *UserThirdBindProto) Marshal() (dAtA []byte, err error)
- func (m *UserThirdBindProto) MarshalTo(dAtA []byte) (int, error)
- func (*UserThirdBindProto) ProtoMessage()
- func (m *UserThirdBindProto) Reset()
- func (m *UserThirdBindProto) Size() (n int)
- func (m *UserThirdBindProto) String() string
- func (m *UserThirdBindProto) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModel = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Cookie ¶
type Cookie struct { ID int64 `json:"id"` Mid int64 `json:"mid"` Session []byte `json:"session"` CSRF []byte `json:"csrf"` Type int64 `json:"type"` Expires int64 `json:"expires"` }
Cookie .
func (*Cookie) ConvertToOld ¶
ConvertToOld convert to old cookie
func (*Cookie) ConvertToProto ¶
func (c *Cookie) ConvertToProto() *CookieProto
ConvertToProto convert to proto
type CookieProto ¶
type CookieProto struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` Session string `protobuf:"bytes,2,opt,name=Session,proto3" json:"session"` CSRF string `protobuf:"bytes,3,opt,name=CSRF,proto3" json:"csrf"` Type int64 `protobuf:"varint,4,opt,name=Type,proto3" json:"type"` Expires int64 `protobuf:"varint,5,opt,name=Expires,proto3" json:"expires"` }
func (*CookieProto) Descriptor ¶
func (*CookieProto) Descriptor() ([]byte, []int)
func (*CookieProto) GetCSRF ¶
func (m *CookieProto) GetCSRF() string
func (*CookieProto) GetExpires ¶
func (m *CookieProto) GetExpires() int64
func (*CookieProto) GetMid ¶
func (m *CookieProto) GetMid() int64
func (*CookieProto) GetSession ¶
func (m *CookieProto) GetSession() string
func (*CookieProto) GetType ¶
func (m *CookieProto) GetType() int64
func (*CookieProto) Marshal ¶
func (m *CookieProto) Marshal() (dAtA []byte, err error)
func (*CookieProto) ProtoMessage ¶
func (*CookieProto) ProtoMessage()
func (*CookieProto) Reset ¶
func (m *CookieProto) Reset()
func (*CookieProto) Size ¶
func (m *CookieProto) Size() (n int)
func (*CookieProto) String ¶
func (m *CookieProto) String() string
func (*CookieProto) Unmarshal ¶
func (m *CookieProto) Unmarshal(dAtA []byte) error
type DecodeUser ¶
type DecodeUser struct { Mid int64 `json:"mid"` UserID string `json:"userid"` Pwd string `json:"pwd"` Salt string `json:"salt"` Status int8 `json:"status"` Tel string `json:"tel"` Cid string `json:"cid"` Email string `json:"email"` }
DecodeUser .
type OldCookie ¶
type OldCookie struct { Mid int64 `json:"mid"` Session string `json:"session_data"` CSRFToken string `json:"csrf_token"` Type int64 `json:"type"` Expires int64 `json:"expire_time"` }
OldCookie old cookie
type OldToken ¶
type OldToken struct { ID int64 `json:"id"` Mid int64 `json:"mid"` AppID int64 `json:"appid"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` AppSubID int64 `json:"app_subid"` CreateAt int64 `json:"create_at"` Expires int64 `json:"expires"` Type int64 `json:"type"` CTime string `json:"ctime"` }
OldToken old token
type ParamLogin ¶
ParamLogin .
type ParamModifyAuth ¶
type ParamModifyAuth struct { Mid int64 `form:"mid"` Token string `form:"token"` Refresh string `form:"refresh"` Session string `form:"session"` AppID int64 `form:"appid"` }
ParamModifyAuth .
type Refresh ¶
type Refresh struct { ID int64 `json:"id"` Mid int64 `json:"mid"` AppID int64 `json:"appid"` Refresh []byte `json:"refresh"` Token []byte `json:"token"` Expires int64 `json:"expires"` }
Refresh refresh token
func (*Refresh) ConvertToProto ¶
func (r *Refresh) ConvertToProto() *RefreshProto
ConvertToProto convert to proto
type RefreshProto ¶
type RefreshProto struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` AppID int64 `protobuf:"varint,2,opt,name=AppID,proto3" json:"appid"` Refresh string `protobuf:"bytes,3,opt,name=Refresh,proto3" json:"refresh"` Token string `protobuf:"bytes,4,opt,name=Token,proto3" json:"token"` Expires int64 `protobuf:"varint,5,opt,name=Expires,proto3" json:"expires"` }
func (*RefreshProto) Descriptor ¶
func (*RefreshProto) Descriptor() ([]byte, []int)
func (*RefreshProto) GetAppID ¶
func (m *RefreshProto) GetAppID() int64
func (*RefreshProto) GetExpires ¶
func (m *RefreshProto) GetExpires() int64
func (*RefreshProto) GetMid ¶
func (m *RefreshProto) GetMid() int64
func (*RefreshProto) GetRefresh ¶
func (m *RefreshProto) GetRefresh() string
func (*RefreshProto) GetToken ¶
func (m *RefreshProto) GetToken() string
func (*RefreshProto) Marshal ¶
func (m *RefreshProto) Marshal() (dAtA []byte, err error)
func (*RefreshProto) ProtoMessage ¶
func (*RefreshProto) ProtoMessage()
func (*RefreshProto) Reset ¶
func (m *RefreshProto) Reset()
func (*RefreshProto) Size ¶
func (m *RefreshProto) Size() (n int)
func (*RefreshProto) String ¶
func (m *RefreshProto) String() string
func (*RefreshProto) Unmarshal ¶
func (m *RefreshProto) Unmarshal(dAtA []byte) error
type RefreshTokenResp ¶
type RefreshTokenResp struct { Mid int64 `json:"mid"` Token string `json:"token"` Refresh string `json:"refresh"` Expires int64 `json:"expires"` }
RefreshTokenResp refreshToken response
type Token ¶
type Token struct { ID int64 `json:"id"` Mid int64 `json:"mid"` AppID int64 `json:"appid"` Token []byte `json:"token"` Expires int64 `json:"expires"` Type int64 `json:"type"` }
Token .
func (*Token) ConvertToOld ¶
ConvertToOld convert to old token
func (*Token) ConvertToProto ¶
func (t *Token) ConvertToProto() *TokenProto
ConvertToProto convert to proto
type TokenProto ¶
type TokenProto struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` AppID int64 `protobuf:"varint,2,opt,name=AppID,proto3" json:"appid"` Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"token"` Type int64 `protobuf:"varint,4,opt,name=Type,proto3" json:"type"` Expires int64 `protobuf:"varint,5,opt,name=Expires,proto3" json:"expires"` }
func (*TokenProto) Descriptor ¶
func (*TokenProto) Descriptor() ([]byte, []int)
func (*TokenProto) GetAppID ¶
func (m *TokenProto) GetAppID() int64
func (*TokenProto) GetExpires ¶
func (m *TokenProto) GetExpires() int64
func (*TokenProto) GetMid ¶
func (m *TokenProto) GetMid() int64
func (*TokenProto) GetToken ¶
func (m *TokenProto) GetToken() string
func (*TokenProto) GetType ¶
func (m *TokenProto) GetType() int64
func (*TokenProto) Marshal ¶
func (m *TokenProto) Marshal() (dAtA []byte, err error)
func (*TokenProto) ProtoMessage ¶
func (*TokenProto) ProtoMessage()
func (*TokenProto) Reset ¶
func (m *TokenProto) Reset()
func (*TokenProto) Size ¶
func (m *TokenProto) Size() (n int)
func (*TokenProto) String ¶
func (m *TokenProto) String() string
func (*TokenProto) Unmarshal ¶
func (m *TokenProto) Unmarshal(dAtA []byte) error
type User ¶
type User struct { Mid int64 `json:"mid"` UserID string `json:"userid"` Pwd []byte `json:"pwd"` Salt string `json:"salt"` Status int8 `json:"status"` Tel []byte `json:"tel"` Cid string `json:"cid"` Email []byte `json:"email"` }
User .
type UserBaseProto ¶
type UserBaseProto struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` UserID string `protobuf:"bytes,2,opt,name=UserID,proto3" json:"userid"` Pwd []byte `protobuf:"bytes,3,opt,name=Pwd,proto3" json:"pwd"` Salt string `protobuf:"bytes,4,opt,name=Salt,proto3" json:"salt"` Status int32 `protobuf:"varint,5,opt,name=Status,proto3" json:"status"` }
func (*UserBaseProto) Descriptor ¶
func (*UserBaseProto) Descriptor() ([]byte, []int)
func (*UserBaseProto) GetMid ¶
func (m *UserBaseProto) GetMid() int64
func (*UserBaseProto) GetPwd ¶
func (m *UserBaseProto) GetPwd() []byte
func (*UserBaseProto) GetSalt ¶
func (m *UserBaseProto) GetSalt() string
func (*UserBaseProto) GetStatus ¶
func (m *UserBaseProto) GetStatus() int32
func (*UserBaseProto) GetUserID ¶
func (m *UserBaseProto) GetUserID() string
func (*UserBaseProto) Marshal ¶
func (m *UserBaseProto) Marshal() (dAtA []byte, err error)
func (*UserBaseProto) ProtoMessage ¶
func (*UserBaseProto) ProtoMessage()
func (*UserBaseProto) Reset ¶
func (m *UserBaseProto) Reset()
func (*UserBaseProto) Size ¶
func (m *UserBaseProto) Size() (n int)
func (*UserBaseProto) String ¶
func (m *UserBaseProto) String() string
func (*UserBaseProto) Unmarshal ¶
func (m *UserBaseProto) Unmarshal(dAtA []byte) error
type UserEmailProto ¶
type UserEmailProto struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` Email []byte `protobuf:"bytes,2,opt,name=Email,proto3" json:"email"` Verified int32 `protobuf:"varint,3,opt,name=Verified,proto3" json:"verified"` EmailBindTime int64 `protobuf:"varint,4,opt,name=EmailBindTime,proto3" json:"email_bind_time"` }
func (*UserEmailProto) Descriptor ¶
func (*UserEmailProto) Descriptor() ([]byte, []int)
func (*UserEmailProto) GetEmail ¶
func (m *UserEmailProto) GetEmail() []byte
func (*UserEmailProto) GetEmailBindTime ¶
func (m *UserEmailProto) GetEmailBindTime() int64
func (*UserEmailProto) GetMid ¶
func (m *UserEmailProto) GetMid() int64
func (*UserEmailProto) GetVerified ¶
func (m *UserEmailProto) GetVerified() int32
func (*UserEmailProto) Marshal ¶
func (m *UserEmailProto) Marshal() (dAtA []byte, err error)
func (*UserEmailProto) ProtoMessage ¶
func (*UserEmailProto) ProtoMessage()
func (*UserEmailProto) Reset ¶
func (m *UserEmailProto) Reset()
func (*UserEmailProto) Size ¶
func (m *UserEmailProto) Size() (n int)
func (*UserEmailProto) String ¶
func (m *UserEmailProto) String() string
func (*UserEmailProto) Unmarshal ¶
func (m *UserEmailProto) Unmarshal(dAtA []byte) error
type UserRegOriginProto ¶
type UserRegOriginProto struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` JoinIP int64 `protobuf:"varint,2,opt,name=JoinIP,proto3" json:"join_ip"` JoinTime int64 `protobuf:"varint,3,opt,name=JoinTime,proto3" json:"join_time"` Origin int32 `protobuf:"varint,4,opt,name=Origin,proto3" json:"origin"` RegType int32 `protobuf:"varint,5,opt,name=RegType,proto3" json:"reg_type"` AppID int64 `protobuf:"varint,6,opt,name=AppID,proto3" json:"appid"` }
func (*UserRegOriginProto) Descriptor ¶
func (*UserRegOriginProto) Descriptor() ([]byte, []int)
func (*UserRegOriginProto) GetAppID ¶
func (m *UserRegOriginProto) GetAppID() int64
func (*UserRegOriginProto) GetJoinIP ¶
func (m *UserRegOriginProto) GetJoinIP() int64
func (*UserRegOriginProto) GetJoinTime ¶
func (m *UserRegOriginProto) GetJoinTime() int64
func (*UserRegOriginProto) GetMid ¶
func (m *UserRegOriginProto) GetMid() int64
func (*UserRegOriginProto) GetOrigin ¶
func (m *UserRegOriginProto) GetOrigin() int32
func (*UserRegOriginProto) GetRegType ¶
func (m *UserRegOriginProto) GetRegType() int32
func (*UserRegOriginProto) Marshal ¶
func (m *UserRegOriginProto) Marshal() (dAtA []byte, err error)
func (*UserRegOriginProto) MarshalTo ¶
func (m *UserRegOriginProto) MarshalTo(dAtA []byte) (int, error)
func (*UserRegOriginProto) ProtoMessage ¶
func (*UserRegOriginProto) ProtoMessage()
func (*UserRegOriginProto) Reset ¶
func (m *UserRegOriginProto) Reset()
func (*UserRegOriginProto) Size ¶
func (m *UserRegOriginProto) Size() (n int)
func (*UserRegOriginProto) String ¶
func (m *UserRegOriginProto) String() string
func (*UserRegOriginProto) Unmarshal ¶
func (m *UserRegOriginProto) Unmarshal(dAtA []byte) error
type UserSafeQuestionProto ¶
type UserSafeQuestionProto struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` SafeQuestion int32 `protobuf:"varint,2,opt,name=SafeQuestion,proto3" json:"safe_question"` SafeAnswer []byte `protobuf:"bytes,3,opt,name=SafeAnswer,proto3" json:"safe_answer"` SafeBindTime int64 `protobuf:"varint,4,opt,name=SafeBindTime,proto3" json:"safe_bind_time"` }
func (*UserSafeQuestionProto) Descriptor ¶
func (*UserSafeQuestionProto) Descriptor() ([]byte, []int)
func (*UserSafeQuestionProto) GetMid ¶
func (m *UserSafeQuestionProto) GetMid() int64
func (*UserSafeQuestionProto) GetSafeAnswer ¶
func (m *UserSafeQuestionProto) GetSafeAnswer() []byte
func (*UserSafeQuestionProto) GetSafeBindTime ¶
func (m *UserSafeQuestionProto) GetSafeBindTime() int64
func (*UserSafeQuestionProto) GetSafeQuestion ¶
func (m *UserSafeQuestionProto) GetSafeQuestion() int32
func (*UserSafeQuestionProto) Marshal ¶
func (m *UserSafeQuestionProto) Marshal() (dAtA []byte, err error)
func (*UserSafeQuestionProto) MarshalTo ¶
func (m *UserSafeQuestionProto) MarshalTo(dAtA []byte) (int, error)
func (*UserSafeQuestionProto) ProtoMessage ¶
func (*UserSafeQuestionProto) ProtoMessage()
func (*UserSafeQuestionProto) Reset ¶
func (m *UserSafeQuestionProto) Reset()
func (*UserSafeQuestionProto) Size ¶
func (m *UserSafeQuestionProto) Size() (n int)
func (*UserSafeQuestionProto) String ¶
func (m *UserSafeQuestionProto) String() string
func (*UserSafeQuestionProto) Unmarshal ¶
func (m *UserSafeQuestionProto) Unmarshal(dAtA []byte) error
type UserTelProto ¶
type UserTelProto struct { Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` Tel []byte `protobuf:"bytes,2,opt,name=Tel,proto3" json:"tel"` Cid string `protobuf:"bytes,3,opt,name=Cid,proto3" json:"cid"` TelBindTime int64 `protobuf:"varint,4,opt,name=TelBindTime,proto3" json:"tel_bind_time"` }
func (*UserTelProto) Descriptor ¶
func (*UserTelProto) Descriptor() ([]byte, []int)
func (*UserTelProto) GetCid ¶
func (m *UserTelProto) GetCid() string
func (*UserTelProto) GetMid ¶
func (m *UserTelProto) GetMid() int64
func (*UserTelProto) GetTel ¶
func (m *UserTelProto) GetTel() []byte
func (*UserTelProto) GetTelBindTime ¶
func (m *UserTelProto) GetTelBindTime() int64
func (*UserTelProto) Marshal ¶
func (m *UserTelProto) Marshal() (dAtA []byte, err error)
func (*UserTelProto) ProtoMessage ¶
func (*UserTelProto) ProtoMessage()
func (*UserTelProto) Reset ¶
func (m *UserTelProto) Reset()
func (*UserTelProto) Size ¶
func (m *UserTelProto) Size() (n int)
func (*UserTelProto) String ¶
func (m *UserTelProto) String() string
func (*UserTelProto) Unmarshal ¶
func (m *UserTelProto) Unmarshal(dAtA []byte) error
type UserThirdBindProto ¶
type UserThirdBindProto struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"id"` Mid int64 `protobuf:"varint,2,opt,name=Mid,proto3" json:"mid"` OpenID string `protobuf:"bytes,3,opt,name=OpenID,proto3" json:"openid"` PlatForm int64 `protobuf:"varint,4,opt,name=PlatForm,proto3" json:"platform"` Token string `protobuf:"bytes,5,opt,name=Token,proto3" json:"token"` Expires int64 `protobuf:"varint,6,opt,name=Expires,proto3" json:"expires"` }
func (*UserThirdBindProto) Descriptor ¶
func (*UserThirdBindProto) Descriptor() ([]byte, []int)
func (*UserThirdBindProto) GetExpires ¶
func (m *UserThirdBindProto) GetExpires() int64
func (*UserThirdBindProto) GetID ¶
func (m *UserThirdBindProto) GetID() int64
func (*UserThirdBindProto) GetMid ¶
func (m *UserThirdBindProto) GetMid() int64
func (*UserThirdBindProto) GetOpenID ¶
func (m *UserThirdBindProto) GetOpenID() string
func (*UserThirdBindProto) GetPlatForm ¶
func (m *UserThirdBindProto) GetPlatForm() int64
func (*UserThirdBindProto) GetToken ¶
func (m *UserThirdBindProto) GetToken() string
func (*UserThirdBindProto) Marshal ¶
func (m *UserThirdBindProto) Marshal() (dAtA []byte, err error)
func (*UserThirdBindProto) MarshalTo ¶
func (m *UserThirdBindProto) MarshalTo(dAtA []byte) (int, error)
func (*UserThirdBindProto) ProtoMessage ¶
func (*UserThirdBindProto) ProtoMessage()
func (*UserThirdBindProto) Reset ¶
func (m *UserThirdBindProto) Reset()
func (*UserThirdBindProto) Size ¶
func (m *UserThirdBindProto) Size() (n int)
func (*UserThirdBindProto) String ¶
func (m *UserThirdBindProto) String() string
func (*UserThirdBindProto) Unmarshal ¶
func (m *UserThirdBindProto) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.