recaptcha

package
v0.0.0-...-394a65f Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service consumes with Google ReCaptcha V3 APIs through network. https://developers.google.com/recaptcha/docs/verify

func NewService

func NewService(http webreq.HTTP, secret string) Service

NewService initializes ReCaptcha API consumer.

func (Service) Verify

func (r Service) Verify(captchaResponse string) (requester.VerifyResponse, error)

Verify checks whether a captcha response is valid.

Jump to

Keyboard shortcuts

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