Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New[T comparable, K any]( namespace string, registerer prometheus.Registerer, cache cache.Cacher[T, K], ) (cache.Cacher[T, K], error)
Types ¶
type Cache ¶
type Cache[T comparable, K any] struct { cache.Cacher[T, K] // contains filtered or unexported fields }
func (*Cache) Initialize ¶
func (m *Cache) Initialize( namespace string, reg prometheus.Registerer, ) error
Click to show internal directories.
Click to hide internal directories.