Versions in this module Expand all Collapse all v0 v0.1.0 Sep 10, 2020 Changes in this version + type Cache struct + func NewCache(o ...Option) Cache + func (c *Cache) Evict() + func (c *Cache) Get(svcKey, key string) (*Entry, error) + func (c *Cache) Invalidate(svcKey, key string) error + func (c *Cache) Length(k string) int + func (c *Cache) Set(svcKey, key string, val interface{}) error + type Entry struct + V interface{} + Valid bool + type Option func(*Options) + func Size(s int) Option + func TTL(ttl time.Duration) Option + type Options struct