Documentation
¶
Index ¶
- func Auth(field string, value string, password string) maps.Map
- func MakeCaptcha(option CaptchaOption) (string, string)
- func ProcessCaptcha(process *gou.Process) interface{}
- func ProcessInfo(process *gou.Process) interface{}
- func ProcessLogin(process *gou.Process) interface{}
- func ProcessToken(process *gou.Process) interface{}
- func ProcessTokenRefresh(process *gou.Process) interface{}
- func ValidateCaptcha(id string, value string) bool
- type CaptchaOption
- type JwtClaims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessCaptcha ¶
ProcessCaptcha xiang.user.Captcha 验证码
func ProcessInfo ¶
ProcessInfo xiang.user.Info 读取当前用户资料
func ProcessLogin ¶
ProcessLogin xiang.user.Login 用户登录
func ProcessToken ¶
ProcessToken xiang.user.Token 使用 Key & Secret 换取 Token
func ProcessTokenRefresh ¶
ProcessTokenRefresh xiang.user.TokenRefresh 刷新Token
Types ¶
Click to show internal directories.
Click to hide internal directories.