captchabiz

package
v0.6.18 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: AGPL-3.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptchaForm

func CaptchaForm(ctx echo.Context, tmpl string, args ...interface{}) template.HTML

CaptchaForm 验证码输入表单

func CaptchaFormWithType

func CaptchaFormWithType(ctx echo.Context, captchaType string, tmpl string, args ...interface{}) template.HTML

CaptchaFormWithType 生成指定类型的验证码输入表单

func CheckEnable added in v0.4.1

func CheckEnable(typ string) func(h echo.Handler) echo.HandlerFunc

func GetCaptchaEngine

func GetCaptchaEngine(ctx echo.Context, types ...string) (captcha.ICaptcha, error)

func VerifyCaptcha

func VerifyCaptcha(ctx echo.Context, hostAlias string, captchaName string, captchaIdent ...string) echo.Data

VerifyCaptcha 验证码验证

func VerifyCaptchaWithType

func VerifyCaptchaWithType(ctx echo.Context, captchaType string, hostAlias string, captchaName string, captchaIdent ...string) echo.Data

VerifyCaptchaWithType 验证指定类型验证码

Types

This section is empty.

Jump to

Keyboard shortcuts

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