Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemCache ¶
type MemCache struct {
*lru.TwoQueueCache
}
MemCache memory cache with lru-2q
func NewMemCache ¶
NewMemCache new memory cache with capacity size.
Click to show internal directories.
Click to hide internal directories.