Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryContextCache ¶
func NewMemoryContextCache() memoryContextCache
NewMemoryContextCache return memoryContextCache
Types ¶
type ContextCache ¶
type ContextCache interface { // Put puts value into cache with key. Put(key string, val interface{}) // Get gets cached value by given key. Get(key string) interface{} }
ContextCache is the interface that operates the cache data.
Click to show internal directories.
Click to hide internal directories.