Documentation
¶
Overview ¶
Package cache provides an exchange.Store decorator that caches single- and all-symbol rate lookups in front of a wrapped store.
Reads are keyed by a coarse time bucket that doubles as the freshness window, and a full set of rates is weighted more heavily than a single-symbol entry. Range and history reads, and all writes, pass straight through to the wrapped store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.