captcha

package
v0.0.0-...-d827859 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptMake

func CaptMake() (id, b64s string, err error)

生成验证码

func CaptVerify

func CaptVerify(id string, capt string) bool

验证captcha是否正确

func Captcha

func Captcha(c *gin.Context)

func CaptchaVerify

func CaptchaVerify(c *gin.Context)

func Serve

func Serve(w http.ResponseWriter, r *http.Request, id, ext, lang string, download bool, width, height int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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