It's API limiter built in Go while we were trying out Redis. It has got dependency on a node app to generate tokens node-redis-rate-limiter and .
go get -u github.com/shredx/golang-api-gateway
cd $GOPATH/github.com/shredx/golang-api-gateway
dep ensure
go run main.go
git clone https://github.com/shredx/golang-api-gateway
cd golang-api-gateway
git submodule init
git submodule update
docker-compose up
go run main.go -help
- Refer the usage doc
The architecture might not be perfect as it was just a weekend project to explore Redis.