allegro / bigcache

Efficient cache for gigabytes of data written in Go.
http://allegro.tech/2016/03/writing-fast-cache-service-in-go.html
Apache License 2.0
7.45k stars 593 forks source link

Added extra endpoint for clear cache #366

Closed agoalofalife closed 1 year ago

agoalofalife commented 1 year ago

Hi, like I mentioned before, I did extra endpoint for clear all cache. At the moment, i don't have enough time for change design code. I just need this endpoint for use API server.

agoalofalife commented 1 year ago

By the way, I will be able to update the documentation in readme.

codecov-commenter commented 1 year ago

Codecov Report

Merging #366 (596fa09) into main (cffbf48) will decrease coverage by 0.87%. The diff coverage is 27.27%.

:exclamation: Current head 596fa09 differs from pull request most recent head c34a2fa. Consider uploading reports for the commit c34a2fa to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #366      +/-   ##
==========================================
- Coverage   90.03%   89.16%   -0.87%     
==========================================
  Files          15       15              
  Lines         783      794      +11     
==========================================
+ Hits          705      708       +3     
- Misses         66       73       +7     
- Partials       12       13       +1     
Impacted Files Coverage Δ
server/server.go 29.41% <0.00%> (-0.90%) :arrow_down:
server/cache_handlers.go 81.53% <30.00%> (-9.38%) :arrow_down:

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cffbf48...c34a2fa. Read the comment docs.

agoalofalife commented 1 year ago

and then?

janisz commented 1 year ago

Thanks! I was waiting for tests to pass :)