Skip to content

feat: add ratelimiter package

Jaime Martinez requested to merge 627-add-rate-limiting-pkg into master

What does this MR do?

First part of #627 (closed).

Adds a ratelimiter package using an lru.Cache that holds a "golang.org/x/time/rate".Limiter per source IP.

The rest of the functionality will be added in subsequent MRs.

TODO

Edited by Jaime Martinez

Merge request reports