Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2023 Changes in this version + type Item struct + ExpireAt time.Time + Key string + OnEvict func() + Value interface{} + type SyncT struct + func NewSync(size int, samples int) *SyncT + func (t *SyncT) Del(key string) + func (t *SyncT) Get(key string) (interface{}, bool) + func (t *SyncT) Set(item *Item) + type T struct + func New(size int, samples int) *T + func (t *T) Del(key string) + func (t *T) Get(key string) (interface{}, bool) + func (t *T) Set(newItem *Item)