mennanov / limiters

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

Add memcached #33

Closed leeym closed 6 months ago

leeym commented 7 months ago

This PR is to add support for memcached, including:

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 85.61404% with 41 lines in your changes are missing coverage. Please review.

Project coverage is 83.51%. Comparing base (bc191d0) to head (b3c4bf1).

Files Patch % Lines
leakybucket.go 78.57% 9 Missing and 3 partials :warning:
concurrent_buffer.go 89.15% 7 Missing and 2 partials :warning:
tokenbucket.go 83.92% 7 Missing and 2 partials :warning:
slidingwindow.go 84.44% 5 Missing and 2 partials :warning:
locks.go 82.35% 3 Missing :warning:
fixedwindow.go 96.42% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #33 +/- ## ========================================== + Coverage 83.00% 83.51% +0.50% ========================================== Files 10 10 Lines 1183 1468 +285 ========================================== + Hits 982 1226 +244 - Misses 137 169 +32 - Partials 64 73 +9 ```

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