Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
Core is not safe under concurrent scene
func NewLRUCore ¶
NewLRUCore will new a strategy object based on LRU algorithm
func (*Core) RemoveOldest ¶
func (c *Core) RemoveOldest()
type Option ¶
type Option func(o *Options)
func WithEvictFunc ¶
WithEvictFunc define evict function execute when delete entity
Click to show internal directories.
Click to hide internal directories.