Documentation ¶
Overview ¶
Package cache provides a library for abstracting the caching layer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { Set(KeyValuePair) error Get(Key) (*KeyValuePair, error) }
Cache is an interface describing the cache layer for storing computed values.
type KeyValuePair ¶
KeyValuePair represents a key-value pair in a cache.
Click to show internal directories.
Click to hide internal directories.