We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf566d3 commit 00583f7Copy full SHA for 00583f7
CHANGELOG.md
@@ -1,3 +1,16 @@
1
+# 2.4.0 (May 2021)
2
+
3
+## API changes:
4
5
+* #42 : Add option to get list of keys
6
+* #40: Allow 'Touch' on items without other operation
7
8
+// Touch resets the TTL of the key when it exists, returns ErrNotFound if the key is not present.
9
+func (cache *Cache) Touch(key string) error
10
11
+// GetKeys returns all keys of items in the cache. Returns nil when the cache has been closed.
12
+func (cache *Cache) GetKeys() []string
13
14
# 2.3.0 (February 2021)
15
16
## API changes:
0 commit comments