Skip to content

The api gateway for Node.js & Golang Rate Limiter using REDIS

License

Notifications You must be signed in to change notification settings

shredx/golang-api-gateway

Repository files navigation

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

Releases

No releases published

Packages

No packages published