Documentation
¶
Index ¶
- type Cache
- func (c *Cache) Add(key string, value interface{}, duration time.Duration) error
- func (c *Cache) Count() int
- func (c *Cache) Delete(key string)
- func (c *Cache) Get(key string) (interface{}, bool)
- func (c *Cache) Replace(key string, value interface{}, duration time.Duration) error
- func (c *Cache) Set(key string, value interface{}, duration time.Duration)
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.