Awesome
hCaptcha
The one and only hCaptcha middleware for Go web servers.
Inspired by https://dev.to/stanbright/cloudflare-replaced-recaptcha-with-hcaptcha-i-followed-their-example-it-took-me-18-min-1ipn.
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.