mennanov / limiters

Golang rate limiters for distributed applications
https://godoc.org/github.com/mennanov/limiters
MIT License
459 stars 49 forks source link

Use redis universal client in token bucket #34

Closed BrianLeishman closed 8 months ago

BrianLeishman commented 8 months ago

Updated the client to a UniversalClient, which works for redis pools as well as single redis servers.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.51%. Comparing base (50bb6c3) to head (844d499).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #34 +/- ## ======================================= Coverage 83.51% 83.51% ======================================= Files 10 10 Lines 1468 1468 ======================================= Hits 1226 1226 Misses 169 169 Partials 73 73 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

BrianLeishman commented 8 months ago

@mennanov makes sense to me, done!

mennanov commented 8 months ago

Thanks for contributing!