Versions in this module Expand all Collapse all v0 v0.0.1 Jul 16, 2021 Changes in this version + type Closeable interface + Close func() error + type TTLCache struct + func NewTTLCache(cacheName string, ttl time.Duration) *TTLCache + func (cache *TTLCache) Get(key string) (interface{}, bool) + func (cache *TTLCache) Put(key string, value Closeable)