chaptcha

package
v0.0.0-...-9f75418 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Captcha

type Captcha struct {
	Id      string `json:"id"`
	ImgUrl  string `json:"img_url"`
	Refresh string `json:"refresh"`
	Verify  string `json:"verify"`
}

func (*Captcha) CheckCode

func (c *Captcha) CheckCode(context *gin.Context)

校验验证码

func (*Captcha) GenerateId

func (c *Captcha) GenerateId(context *gin.Context)

生成验证码ID

func (*Captcha) GetImg

func (c *Captcha) GetImg(context *gin.Context)

获取验证码图像

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL