Documentation ¶
Index ¶
- func CaptchaForm(ctx echo.Context, tmpl string, args ...interface{}) template.HTML
- func CaptchaFormWithType(ctx echo.Context, captchaType string, tmpl string, args ...interface{}) template.HTML
- func CheckEnable(typ string) func(h echo.Handler) echo.HandlerFunc
- func GetCaptchaEngine(ctx echo.Context, types ...string) (captcha.ICaptcha, error)
- func VerifyCaptcha(ctx echo.Context, hostAlias string, captchaName string, captchaIdent ...string) echo.Data
- func VerifyCaptchaWithType(ctx echo.Context, captchaType string, hostAlias string, captchaName string, ...) echo.Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptchaForm ¶
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.