recaptcha

package
v1.52.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2019 License: MIT Imports: 5 Imported by: 0

README

recaptcha

GoDoc

Package recaptcha implements a Go client to validate captchas.

Install
import (
	"libs.altipla.consulting/recaptcha"
)
Contributing

You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt.

Running tests

Run the tests:

make test
License

MIT License

Documentation

Overview

Package recaptcha implements a Go client to validate captchas.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(privateKey string) *Client

func (*Client) Validate

func (client *Client) Validate(ctx context.Context, caption string) (bool, error)

Jump to

Keyboard shortcuts

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