captcha

package
v1.3.28 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CodeErr = errors.New("code error")
View Source
var CodeExpire = errors.New("code expire")

Functions

func AesDigit

func AesDigit(key string) (id, b64s string, err error)

func AesVerify

func AesVerify(key, id, code string) error

func DriverDigitFunc

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

func DriverStringFunc

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

func SetStore

func SetStore(s base64Captcha.Store)

SetStore 设置store

func Verify

func Verify(id, code string, clear bool) bool

Verify 校验验证码

Types

This section is empty.

Jump to

Keyboard shortcuts

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