GitHub - 0verread/goralim: A rate limiting package for Go to handle distributed workloads
Goralim
goralim is a Golang package that provides a rate limiter based on Token bucket algorithm. It is capabale to handle distributed workload with its redis database support. It has HTTP server middleware support (as of now).
🚧 this is a beta version now and under active development. For production use, fork it and made changes based on your need.
Install
go get "github.com/0verread/goralim" -m
Usage
import (
goralim "github.com/0verread/goralim"
)
// Redis initialization
config := goralim.Re...
Read more at github.com