Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.36 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.36 KB

Golang Redis Rate Limiter Go Report Card

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.

Getting Started

Prerequisite

Local Setup

  • Go -- Development environment
  • dep -- Dependency management
  • Revel -- Golang web framework
  • Redis -- Cache storage

Docker

Installation

Local Setup

go get -u github.com/shredx/golang-redis-rate-limiter
cd $GOPATH/github.com/shredx/golang-redis-rate-limiter
dep ensure

Docker

git clone https://github.com/shredx/golang-redis-rate-limiter
cd golang-redis-rate-limiter
docker-compose up

Architecture

The architecture might not be perfect as it was just a weekend project to explore Redis.

Architecture