metercacher
Package metercacher
import "github.com/luxfi/node/cache/metercacher"Types
Cache
func New[K comparable, V any](
namespace string,
registry metric.Registry,
cache cache.Cacher[K, V],
) (*Cache[K, V], error)func (c *Cache[K, _]) Evict(key K)func (c *Cache[_, _]) Flush()func (c *Cache[K, V]) Get(key K) (V, bool)func (c *Cache[K, V]) Put(key K, value V)