Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type EvictCallback ¶
type EvictCallback func(key string, value interface{})
EvictCallback is a function that is called when an item is evicted from the cache.
type Options ¶
type Options struct {
LogLevel string // "debug", "info", "warn", "error"
EvictCallback EvictCallback
}
Click to show internal directories.
Click to hide internal directories.