Documentation
¶
Overview ¶
Package microcache is the core package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { // Put a item to the cache Put(key interface{}, value interface{}) // Get a item from the cache Get(key interface{}) (value interface{}, found bool) // Remove a item from the cache. Invalidate(key interface{}) (found bool) // Len of the cache Len() int // Close the cache Close() }
Cache interface
Click to show internal directories.
Click to hide internal directories.