Skip to content

v3.0.0-rc

Pre-release
Pre-release
Compare
Choose a tag to compare
@instabledesign instabledesign released this 08 Sep 15:43
071422a
add rate limit tripperware and middleware (#33)

* add rate limit tripperware

* use atomic uint64

* delete useless options

* delete useless options

* add rate limiter from golang.org/x/time/rate

* move config

* code style

* update readme

* refacto leaky_bucket rate limiter

* remove useless test file

* fix example and code style

* remove vendor

* remove bench

* fix typo

* fix port

* fix example addr

* improve and add middleware

* improve

* fix comments

* Update README.md

Co-authored-by: instabledesign <instabledesign@gmail.com>

* update version

* update version

Co-authored-by: Anthony Moutte <instabledesign@gmail.com>