Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[K comparable, V any] struct { *lru.Cache[K, V] // contains filtered or unexported fields }
Cache is a wrapper around hashicorp lru but with metric for Get
func NewWithEvict ¶
Click to show internal directories.
Click to hide internal directories.