Versions in this module Expand all Collapse all v1 v1.50.0 Sep 24, 2021 v1.41.0 Sep 23, 2021 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)