Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TTLMap ¶
type TTLMap struct {
// contains filtered or unexported fields
}
TTLMap is a simple kv cache, based on https://stackoverflow.com/a/25487392 The ttl of an item will be reset whenever it is read or written.
Click to show internal directories.
Click to hide internal directories.