Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpireAtSecs ¶
type ExpireAtSecs int64
type Tree ¶
Tree is a a thread-safe data structure for tracking expirable items. It automatically expires old entries and keys. It does not garbage collect. Items are only expired when interacting with the data structure.
func (*Tree) Count ¶
Count will return the number of entries at `entryKey`. It has the side effect of cleaning up stale entries and entry keys.
func (*Tree) KeyMatch ¶ added in v0.5.1
KeyMatch crawls the subtree to return keys starting with the `keyPattern` string.
Click to show internal directories.
Click to hide internal directories.