castramet / go-recaptcha

Go package to handle Google's Recaptcha 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoDoc

recaptcha

Package recaptcha provides support for reCaptcha 2.0 user response verification. It allows the use of a custom http.Client, and will fall back to http.DefaultClient if none is supplied.

Todo

  • Testing: While this package has been tested, proper tests should be written in recaptcha_test.go.
  • Optional 'remoteip' parameter. This can be automatically retrieved from the http.request, or if we are behind a proxy, via a header.

About

Go package to handle Google's Recaptcha 2.0

License:MIT License


Languages

Language:Go 100.0%