Popularity
3.1
Declining
Activity
0.0
Stable
62
2
5
Description
Google's reCAPTCHA Golang implementation.
Programming language: Go
License: MIT License
Latest version: v1.1.2
recaptcha alternatives and similar packages
Based on the "Web Frameworks" category.
Alternatively, view recaptcha alternatives based on common mentions on social networks and blogs.
-
Gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. -
Gorilla WebSocket
A fast, well-tested and widely used WebSocket implementation for Go. -
go-kratos
Your ultimate Go microservices framework for the cloud-native era. -
Iris
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket: -
mux
A powerful HTTP router and URL matcher for building Go web servers with 🦍 -
chi
lightweight, idiomatic and composable router for building Go HTTP services -
GoFrame
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. -
go-socket.io
socket.io library for golang, a realtime application framework. -
Hertz
Go HTTP framework with high-performance and strong-extensibility for building micro-services. -
Macaron
Package macaron is a high productive and modular web framework in Go. -
render
Go package for easily rendering JSON, XML, binary data, and HTML templates responses. -
Faygo
Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc. -
pat
Sinatra style pattern muxer for Go’s net/http library, by the author of Sinatra. -
Atreugo
High performance and extensible micro web framework. Zero memory allocations in hot paths. -
tigertonic
A Go framework for building JSON web services inspired by Dropwizard -
Goji
Goji is a minimalistic and flexible HTTP request multiplexer for Go (golang) -
fasthttprouter
A high performance fasthttp request router that scales well -
Beego
beego is an open-source, high-performance web framework for the Go programming language. -
go-server-timing
Go (golang) library for creating and consuming HTTP Server-Timing headers -
Gearbox
Gearbox :gear: is a web framework written in Go with a focus on high performance -
golongpoll
golang long polling library. Makes web pub-sub easy via HTTP long-poll servers and clients :smiley: :coffee: :computer: -
xujiajun/gorouter
xujiajun/gorouter is a simple and fast HTTP router for Go. It is easy to build RESTful APIs and your web framework.
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Promo
getonboard.dev
Do you think we are missing an alternative of recaptcha or a related project?
Popular Comparisons
README
recaptcha
Google's reCAPTCHA Golang implementation.
Install
To get the package, execute:
go get gopkg.in/romanyx/recaptcha.v1
To import this package, add the following line to your code:
import "gopkg.in/romanyx/recaptcha.v1"
Refer to it as recaptcha
.
For more details, see the API documentation.
Example
package main
import (
"fmt"
"gopkg.in/romanyx/recaptcha.v1"
)
func main() {
r := recaptcha.New("secret")
res, err := r.Verify("response") // g-recaptcha-response parameter
if err != nil {
switch err {
case recaptcha.ErrMissingInputSecret:
fmt.Println(err)
case recaptcha.ErrInvalidInputSecret:
fmt.Println(err)
case recaptcha.ErrMissingInputResponse:
fmt.Println(err)
case recaptcha.ErrInvalidInputResponse:
fmt.Println(err)
case recaptcha.ErrBadRequest:
fmt.Println(err)
case recaptcha.ErrUnsucceeded:
// This triggers when response.Success is equal false.
fmt.Println(err)
default:
fmt.Printf("unknown error: %s\n", err)
}
}
// If err is equal to nil, then verification has been successed.
if err == nil {
fmt.Printf("%+v\n", res)
}
}
Contributing
Please feel free to submit issues, fork the repository and send pull requests!