Versions in this module Expand all Collapse all v1 v1.51.4 Oct 3, 2022 Changes in this version + type TimeoutCache struct + func NewTimeoutCache(timeout time.Duration) *TimeoutCache + func (c *TimeoutCache) Add(key, item interface{}, callback func()) (interface{}, bool) + func (c *TimeoutCache) Clear(runCallback bool) + func (c *TimeoutCache) Remove(key interface{}) (item interface{}, ok bool)