Documentation ¶
Index ¶
- func LoginWithQR(ctx *gin.Context)
- func LoginWithSMS(ctx *gin.Context)
- func Logout(ctx *gin.Context)
- func Me(ctx *gin.Context)
- func NewCaptcha(ctx *gin.Context)
- func NewQRCode(ctx *gin.Context)
- func NewSMS(ctx *gin.Context)
- func Parse(ctx *gin.Context)
- type BilibiliMeResp
- type ParseReq
- type QRCodeLoginReq
- type SMSLoginReq
- type SMSReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginWithQR ¶
func LoginWithSMS ¶
func NewCaptcha ¶
Types ¶
type BilibiliMeResp ¶
type BilibiliMeResp = model.VendorMeResp[*bilibili.UserInfoResp]
type QRCodeLoginReq ¶
type QRCodeLoginReq struct {
Key string `json:"key"`
}
func (*QRCodeLoginReq) Validate ¶
func (r *QRCodeLoginReq) Validate() error
type SMSLoginReq ¶
type SMSLoginReq struct { Telephone string `json:"telephone"` CaptchaKey string `json:"captchaKey"` Code string `json:"code"` }
func (*SMSLoginReq) Validate ¶
func (r *SMSLoginReq) Validate() error
Click to show internal directories.
Click to hide internal directories.