Skip to content

Simple package for verifying google ReCaptcha V2 response

License

Notifications You must be signed in to change notification settings

Flagon00/ReCaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Verifying the user's ReCaptcha V2 response with Go

GoDoc

Setup: go get -u github.com/Flagon00/ReCaptcha

Example usage:

c := recaptcha.CaptchaClient(PrivateKey)

result, hostname, err := c.VerifyResponse(Answer, IP)
if err != nil {
	log.Fatal(err)
}

log.Printf("Result: %t, Hostname: %s", result, hostname)

About

Simple package for verifying google ReCaptcha V2 response

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages