formutil

package
v0.0.0-...-9431910 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MathCaptcha

func MathCaptcha() interface{}

MathCaptcha provides a simple captcha which presents a simple arithmetic operation to be solved by the user. This won't protect you from targetted attacks, but it will stop most spam bots.

func ReCaptcha

func ReCaptcha(publicKey string, privateKey string, theme string) interface{}

Reaptcha provides a captcha using the reCAPTCHA API. The theme parameter can be one of "red", "blackglass", "white" and "clean". Any other value (including the empty string) results in the red theme.

Types

This section is empty.

Jump to

Keyboard shortcuts

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