Skip to content

aidenwallis/go-ratelimiting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-ratelimiting

codecov Go Reference

Ratelimiting libraries in Go.

These ratelimiters are used in production services for Fossabot, such as Twitch proxies.

There are two kinds of ratelimiters in this library:

  • local: Ratelimiters that are not persistent, and live in-process memory. Useful when you need to throttle a specific function, or some kind of usage within a single container.
  • redis: Ratelimiters that connect to Redis and provide a distributed solution to your ratelimiting problems. Ideal for stateless, distributed applications, such as APIs.