Skip to content

sb89/recaptchago

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

recaptchago

Recaptcha package for Go

Install

go get github.com/sb89/recaptchago

Example

r := recpatcha.New("secret key", recaptcha.Timeout(40))  // Omit Timeout() if not required

success, err := r.Verify("ip address", r.PostFormValue("g-recaptcha-response"))

if !success {
  errors := r.GetErrors() // []string
  ....
}

Documentation

http://godoc.org/github.com/sb89/recaptchago

About

Recaptcha package for Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages