Back to godoc.org

Package feature

v0.2.2
Latest Go to latest

The highest tagged major version is .

Published: Aug 28, 2020 | License: MIT | Module: github.com/muharihar/d3ta-go

Index

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