recaptchaValidator

package module
v0.0.0-...-5170a45 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: MIT Imports: 4 Imported by: 0

README

reCaptca v3 server-side validator

Implementation of server-side reCaptcaV3 validation.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Verify

func Verify(w http.ResponseWriter, r *http.Request)

Types

type Error

type Error struct {
	Message string `json:"message"`
}

type Response

type Response struct {
	Success bool         `json:"success"`
	Score   null.Float64 `json:"score,omitempty"`
}

Jump to

Keyboard shortcuts

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