key

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: LGPL-2.1 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EPKeyName             = "EPKey"
	ReCaptchaTokenKeyName = "grecaptcha_token"
)

Variables

This section is empty.

Functions

func EPKeyFromRequest

func EPKeyFromRequest(r *http.Request) string

func GenerateKey

func GenerateKey() string

func ReCaptchaKeyFromRequest

func ReCaptchaKeyFromRequest(r *http.Request) string

func VerifyReCaptcha

func VerifyReCaptcha(token string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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