Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kataras/hcaptcha
hCaptcha HTTP middleware for Go web servers
https://github.com/kataras/hcaptcha
go golang hcaptcha http iris
Last synced: 3 months ago
JSON representation
hCaptcha HTTP middleware for Go web servers
- Host: GitHub
- URL: https://github.com/kataras/hcaptcha
- Owner: kataras
- License: mit
- Created: 2020-04-11T17:01:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-24T06:21:58.000Z (about 2 years ago)
- Last Synced: 2024-10-14T11:24:35.145Z (4 months ago)
- Topics: go, golang, hcaptcha, http, iris
- Language: Go
- Homepage: https://github.com/hCaptcha/hcaptcha-integrations-list
- Size: 26.4 KB
- Stars: 33
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# hCaptcha
[![build status](https://img.shields.io/github/actions/workflow/status/kataras/hcaptcha/ci.yml?style=for-the-badge)](https://github.com/kataras/hcaptcha/actions) [![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=for-the-badge)](https://goreportcard.com/report/github.com/kataras/hcaptcha) [![godocs](https://img.shields.io/badge/go-%20docs-488AC7.svg?style=for-the-badge)](https://godoc.org/github.com/kataras/hcaptcha)
The one and only [hCaptcha](https://www.hcaptcha.com/) middleware for Go web servers.
Inspired by .
## Installation
The only requirement is the [Go Programming Language](https://golang.org/dl).
```sh
$ go get -u github.com/kataras/hcaptcha
```## Getting Started
First of all, navigate to , create an account and attach a [new site](https://dashboard.hcaptcha.com/sites) for [development](https://docs.hcaptcha.com/#localdev).
Import the package:
```go
package mainimport "github.com/kataras/hcaptcha"
```Create a new client:
```go
client := hcaptcha.New(your_secret_key)
```Wrap a page's handler:
```go
humanHandler := client.Handler(handler)
```For a complete example please navigate through [_examples](_examples) directory.
## License
This software is licensed under the [MIT License](LICENSE).