Versions in this module Expand all Collapse all v1 v1.0.1 Aug 23, 2019 v1.0.0 Aug 22, 2019 Changes in this version + func NewKey(body []byte) lru.Key + type Cache struct + func New(cfg *viper.Viper) (*Cache, error) + func (c *Cache) Add(key lru.Key, value []byte) + func (c *Cache) Clear() + func (c *Cache) Get(key lru.Key) ([]byte, bool) + func (c *Cache) Len() int + func (c *Cache) Remove(key lru.Key)