Original post

build status report card godocs

Lightweight hCaptcha middleware for the Language.

Installation

The only requirement is the Go Programming Language.

$ go get -u github.com/kataras/hcaptcha

Getting Started

First of all, navigate to https://www.hcaptcha.com/, create an account and attach a new site for development.

Import the package:

package main

import "github.com/kataras/hcaptcha"

Create a new client:

client := hcaptcha.New(your_secret_key)

Wrap a page’s handler:

humanHandler := client.Handler(handler)

For a complete example please navigate through _examples directory.

License

This software is licensed under the MIT License.