Skip to content

The Golang microservice for usage calculations for a subscriber

License

Notifications You must be signed in to change notification settings

shredx/golang-redis-rate-limiter

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 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

Releases

No releases published

Packages

No packages published