Commit Graph

15 Commits

Author SHA1 Message Date
ct16k
95848327b2 feat: add ability to clear cache
While the LRU package has the ability to purge all items from cache,
this functionality was not available to `ProtoGetter`, making it
imposibile to clear the cache without restarting all peers. This change
adds a `Clear()` method to `ProtoGetter`, that enables clearing the
cache with no downtime.
2022-12-23 21:46:48 +02:00
Niall Sheridan
fdad20ab3a
Link to v2 docs (#47)
The README links to the v1 docs which are way old
2022-12-20 11:27:57 -06:00
Everton da Silva Marques
33907cd323 How to make expiration optional. 2022-06-19 16:59:03 -03:00
Ilia Choly
7eb7c7d0dc
Fix example in README 2022-05-15 17:15:20 -04:00
Derrick J. Wippler
ece2929696
Update README.md 2022-01-07 10:51:44 -06:00
Derrick J. Wippler
2fc526bccc
Update README.md
It should be clear you must include self when calling `pool.Set()` See #27
2021-04-06 14:07:06 -05:00
Derrick J. Wippler
65c4ea5d77
Clarify the use of groupcache.NewHTTPPoolOpts() in the documentation
Fixes #20
2020-11-19 20:12:15 -06:00
Derrick J. Wippler
06245be9e2 Removed tabs from README example, github renders the tabs as 8 spaces each which is crazy 2020-01-05 15:54:31 -06:00
Derrick J. Wippler
ff2d1f161e
Update README.md 2019-06-10 15:35:07 -05:00
Derrick J. Wippler
e1f81f6bb1
Update README.md 2019-06-10 15:33:49 -05:00
Derrick J. Wippler
48a0ce2463 Get() now returns immediately when context is done
* `Get()` now returns immediately when context is done during a groupcache peer
  conversation. Previously `Get()` would call the `Getter` with a done context.
2019-06-10 14:16:39 -05:00
Derrick J. Wippler
a4f69dc48c Changed import path to mailgun/groupcache 2019-04-10 15:09:20 -05:00
Luit van Drongelen
8a39167b88 Weird use of brackets in README.md 2013-07-31 09:45:16 +02:00
Steve Phillips
8b8b9d63cf Fixed README typo: s/suppresion/suppression/ 2013-07-26 15:08:26 -07:00
Brad Fitzpatrick
6dad98a783 initial commit. 2013-07-23 18:03:06 -07:00