Skip to content

This package implements an API rate limiter which can be used on either the client or server side.

License

Notifications You must be signed in to change notification settings

tildeleb/limiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Limiter

This package implements an API rate limiter which can be used on either the client or server side. The rate limiting is specified as calls per duration. Limiter works to prevent live lock by waking waiting goroutines in FIFO order. The package is safe and can be used from goroutines without a wrapper mutex. Written in Go.

Completely untested except for the example code.

About

This package implements an API rate limiter which can be used on either the client or server side.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages