Popularity
3.2
Declining
Activity
0.0
Stable
64
1
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. -
Iris
The fastest HTTP/2 Go Web Framework. New, modern, easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :leaves: :rocket: | 谢谢 | #Go -
go-kratos
Your ultimate Go microservices framework for the cloud-native era. -
Gorilla WebSocket
A fast, well-tested and widely used WebSocket implementation for Go. -
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 -
go-socket.io
socket.io library for golang, a realtime application framework. -
Macaron
Package macaron is a high productive and modular web framework in Go. -
Hertz
Go HTTP framework with high-performance and strong-extensibility for building micro-services. -
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. -
render
Go package for easily rendering JSON, XML, binary data, and HTML templates responses. -
pat
Sinatra style pattern muxer for Go’s net/http library, by the author of Sinatra. -
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 -
Atreugo
High performance and extensible micro web framework. Zero memory allocations in hot paths. -
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: -
rye
A tiny http middleware for Golang with added handlers for common needs.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
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!