Documentation ¶
Overview ¶
Package recaptcha handles reCaptcha (http://www.google.com/recaptcha) form submissions
This package is designed to be called from within an HTTP server or web framework which offers reCaptcha form inputs and requires them to be evaluated for correctness
Edit the recaptchaPrivateKey constant before building and using
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Confirm ¶
Confirm is the public interface function. It calls check, which the client ip address, the challenge code from the reCaptcha form, and the client's response input to that challenge to determine whether or not the client answered the reCaptcha input question correctly. It returns a boolean value indicating whether or not the client answered correctly.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
example.go A simple HTTP server which presents a reCaptcha input form and evaulates the result, using the github.com/dpapathanasiou/go-recaptcha package.
|
example.go A simple HTTP server which presents a reCaptcha input form and evaulates the result, using the github.com/dpapathanasiou/go-recaptcha package. |