Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppleMobileLogin ¶ added in v0.2.0
type AppleMobileLogin struct { Code string `json:"code"` DeviceID string `json:"device_id"` AppID string `json:"app_id"` Name string `json:"name"` }
func (*AppleMobileLogin) Validation ¶ added in v0.2.0
func (aml *AppleMobileLogin) Validation() bool
type GoogleMobileLogin ¶
type GoogleMobileLogin struct { IDToken string `json:"id_token"` DeviceID string `json:"device_id"` AppID string `json:"app_id"` }
func (*GoogleMobileLogin) Validation ¶
func (gml *GoogleMobileLogin) Validation() bool
type MailLogin ¶
type MailLogin struct { Mail string `json:"mail"` Password string `json:"password"` DeviceID string `json:"device_id"` AppID string `json:"app_id"` }
func (*MailLogin) Validation ¶
type MailRegister ¶
type MailRegister struct { Mail string `json:"mail"` Name string `json:"name"` Password string `json:"password"` }
func (*MailRegister) Validation ¶
func (mr *MailRegister) Validation() bool
type PlutoRequest ¶
type PlutoRequest interface {
Validation() bool
}
type RefreshAccessToken ¶
type RefreshAccessToken struct { RefreshToken string `json:"refresh_token"` UseID uint `json:"user_id"` DeviceID string `json:"device_id"` AppID string `json:"app_id"` }
func (*RefreshAccessToken) Validation ¶
func (rat *RefreshAccessToken) Validation() bool
type RegisterVerifyMail ¶
type RegisterVerifyMail struct {
Mail string `json:"mail"`
}
func (*RegisterVerifyMail) Validation ¶
func (rvm *RegisterVerifyMail) Validation() bool
type ResetPassword ¶
func (*ResetPassword) Validation ¶
func (rp *ResetPassword) Validation() bool
type ResetPasswordMail ¶
type ResetPasswordMail struct {
Mail string `json:"mail"`
}
func (*ResetPasswordMail) Validation ¶
func (rpm *ResetPasswordMail) Validation() bool
type UpdateUserInfo ¶
type UpdateUserInfo struct { Name string `json:"name"` Gender string `json:"gender"` Avatar string `json:"avatar"` }
func (*UpdateUserInfo) Validation ¶
func (uui *UpdateUserInfo) Validation() bool
type WechatMobileLogin ¶
type WechatMobileLogin struct { Code string `json:"code"` DeviceID string `json:"device_id"` AppID string `json:"app_id"` }
func (*WechatMobileLogin) Validation ¶
func (wml *WechatMobileLogin) Validation() bool
Click to show internal directories.
Click to hide internal directories.