Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.43 KB

README.md

File metadata and controls

47 lines (38 loc) · 1.43 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 to generate tokens node-redis-rate-limiter and .

Getting Started

Prerequisite

Local Setup

  • Go -- Development environment
  • dep -- Dependency management
  • Redis -- Cache storage

Docker

Installation

Local Setup

go get -u github.com/shredx/golang-api-gateway
cd $GOPATH/github.com/shredx/golang-api-gateway
dep ensure
go run main.go

Docker

git clone https://github.com/shredx/golang-api-gateway
cd golang-api-gateway
git submodule init
git submodule update
docker-compose up

Help

go run main.go -help

Usage

Architecture

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

Architecture