golang-redis-rate-limiter

module
v0.0.0-...-c0e7709 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2019 License: MIT

README

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

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL