Skip to content

Tags: go-chi/httprate

Tags

v0.14.1

Toggle v0.14.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add httpate.Key(string) helper for static keys (#45)

Useful to create compounds with a custom prefix

v0.14.0

Toggle v0.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Introduce RespondOnLimit() vs. OnLimit() (#44)

v0.13.1

Toggle v0.13.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Export RateLimiter type (#43)

So users pass *http.RateLimiter (or save in their server struct) and use
the new .OnLimit() feature from #42.

v0.13.0

Toggle v0.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Implement rate-limiting from HTTP handler (e.g. by request payload) (#42

)

v0.12.1

Toggle v0.12.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
README: Fix typo

v0.12.0

Toggle v0.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Local counter: Don't re-allocate maps in Go 1.21+ (#40)

v0.11.0

Toggle v0.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
localCounter: Add more robust table-driven tests (#35)

v0.10.0

Toggle v0.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add tests for X-RateLimit-* headers, Fix X-RateLimit-Remaining header (

…#28)

* Add tests for X-RateLimit-* headers

* Fix X-RateLimit-Remaining header

v0.9.0

Toggle v0.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #23 from LukasJenicek/override_limit

pass request limit through context

v0.8.0

Toggle v0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add IncrementBy (#21)