Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LRU ¶
type LRU struct {
// contains filtered or unexported fields
}
LRU provides a thread-safe LRU cache using hashicorp/golang-lru/v2.
func New ¶
New creates a new LRU cache level. If maxEntries <= 0, a default capacity of 1000 is used.
Click to show internal directories.
Click to hide internal directories.