Versions in this module Expand all Collapse all v0 v0.0.1 Dec 15, 2023 Changes in this version + type LRUCache struct + func New(capacity int, preallocate bool) *LRUCache + func (c *LRUCache) Add(key *externalapi.DomainHash, value interface{}) + func (c *LRUCache) Get(key *externalapi.DomainHash) (interface{}, bool) + func (c *LRUCache) Has(key *externalapi.DomainHash) bool + func (c *LRUCache) Remove(key *externalapi.DomainHash)