Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2024 Changes in this version + type LRUCache struct + func New(capacity int, preallocate bool) *LRUCache + func (c *LRUCache) Add(key uint64, value *externalapi.DomainHash) + func (c *LRUCache) Get(key uint64) (*externalapi.DomainHash, bool) + func (c *LRUCache) Has(key uint64) bool + func (c *LRUCache) Remove(key uint64)