Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache is a cache of keyvalue.Connections accessed by their config.
func New ¶
func New[K cache.Hasher](create CreationFunc[K], equals cache.EqualsFunc[K], lg log.Interface) *Cache[K]
New returns a new keyvalue.Connection cache.
type CreationFunc ¶
CreationFunc creates a new value for the given key.
Click to show internal directories.
Click to hide internal directories.