Versions in this module Expand all Collapse all v1 v1.0.0 Jan 29, 2018 Changes in this version + type Cache struct + func New(maxEntries int, expire time.Duration) *Cache + func (c *Cache) Delete(key string) + func (c *Cache) Flush() + func (c *Cache) Get(key string) (value interface{}, ok bool) + func (c *Cache) Len() int + func (c *Cache) Set(key string, value interface{})