Versions in this module Expand all Collapse all v2 v2.1.0 Aug 29, 2022 v2.0.0 Aug 16, 2022 Changes in this version + type TLRU struct + func New(size int, ttl time.Duration, stale bool) *TLRU[V] + func (c *TLRU[V]) Get(key string) V + func (c *TLRU[V]) Has(key string) bool + func (c *TLRU[V]) Purge() + func (c *TLRU[V]) Remove(key string) + func (c *TLRU[V]) Set(key string, value V) Other modules containing this package git.sr.ht/~xn/cache