Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { // Get retrieves the value from cache. Returns the value if found and true, // or a nil array and false if not cached. Get(key string, value interface{}) (ok bool) // Put attempts to save the value in cache. Put(key string, value interface{}) }
Cache is an interface for caching values.
Click to show internal directories.
Click to hide internal directories.