Back to

Package feature

Latest Go to latest

The highest tagged major version is .

Published: Aug 28, 2020 | License: MIT | Module:


func CaptchaServeHTTP

func CaptchaServeHTTP(cfg *config.Config, c echo.Context) error

CaptchaServeHTTP serve captcha image/sound

func DecodeCaptcha

func DecodeCaptcha(captchaEncoded string, salt string) (string, error)

DecodeCaptcha decode Captcha

func EncodeCaptcha

func EncodeCaptcha(captcha string, salt string) string

EncodeCaptcha encode captcha

func GenerateCaptchaID

func GenerateCaptchaID(cfg *config.Config, c echo.Context) map[string]interface{}

GenerateCaptchaID generate Captcha

func VerifyString

func VerifyString(captchaID, digits string) bool

VerifyString verify captcha

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier