Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCacheData ¶
func LoadCacheData(fileName string, loader CacheLoader) ([]byte, error)
LoadCacheData loads cached data from the given cache file name and loader
Types ¶
type CacheLoader ¶
CacheLoader defines cache value population callback that should be executed if cache entry with given key is not present.
Click to show internal directories.
Click to hide internal directories.