Documentation ¶
Index ¶
Constants ¶
View Source
const ( STATUS_NOT_READY = iota STATUS_READY STATUS_LOGINED )
Variables ¶
View Source
var ( ErrNotReady = errors.New("sdk not ready") ErrMaxErrTimes = errors.New("network error, max retry times") )
Functions ¶
This section is empty.
Types ¶
type AuthLoginVO ¶
type AuthLoginVO struct { UserId uint32 `json:"userId"` Account string `json:"account"` TrueName string `json:"trueName"` Mobile string `json:"mobile"` IDentity int32 `json:"status"` LastLogin *time.Time `json:"lastLogin"` ThisLogin *time.Time `json:"thisLogin"` AccessKey string `json:"accessKey"` AccessToken string `json:"accessToken"` AccessTokenExpires int64 `json:"accessTokenExpires"` RefreshToken string `json:"refreshToken"` RefreshTokenExpires int64 `json:"refreshTokenExpires"` }
type RefreshTokenData ¶
Click to show internal directories.
Click to hide internal directories.