feature

package
Version: v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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