It's API limiter built in Go while we were trying out Redis. It has got dependency on a node app that mock like the API to be limited node-redis-rate-limiter and API gateway.
- Go -- Development environment
- dep -- Dependency management
- Revel -- Golang web framework
- Redis -- Cache storage
go get -u github.com/shredx/golang-redis-rate-limiter
cd $GOPATH/github.com/shredx/golang-redis-rate-limiter
dep ensure
git clone https://github.com/shredx/golang-redis-rate-limiter
cd golang-redis-rate-limiter
docker-compose up
The architecture might not be perfect as it was just a weekend project to explore Redis.