Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache interface { GetAndLoad(key string, value interface{}, loader func() (interface{}, error)) error Get(key string, value interface{}) error // right now uses caches default expire. Might want to add one with override in future Set(key string, value interface{}) error }
Cache can GetAndLoad items
Click to show internal directories.
Click to hide internal directories.