Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLruCache ¶
func NewLruCache[T1 comparable, T2 comparable](ctx context.Context, capacity int) *lru[T1, T2]
Types ¶
type InsertNode ¶
type InsertNode[T1 comparable, T2 comparable] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.