Documentation ¶
Index ¶
- type Cache
- func (c *Cache) Clear()
- func (c *Cache) Exist(key ObjectKey) bool
- func (c *Cache) Get(key ObjectKey) (obj interface{}, ok bool)
- func (c *Cache) Gets() uint64
- func (c *Cache) Hits() uint64
- func (c *Cache) Misses() uint64
- func (c *Cache) Set(key ObjectKey, value interface{}) bool
- func (c *Cache) SetLogger(logger log.Logger)
- func (c *Cache) SetTTL(value time.Duration)
- func (c *Cache) Sets() uint64
- type ObjectKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.