github.com/cosiner/ratelimit

token/leaky bucket based ratelimit


License
MIT
Install
go get github.com/cosiner/ratelimit

Documentation

ratelimit

ratelimit contains a leaky bucket, toke bucket, bucket bulk implementation