Documentation ¶
Index ¶
- type Cache
- func (c *Cache) Clean()
- func (c *Cache) Delete(k string)
- func (c *Cache) Get(k string) (interface{}, bool)
- func (c *Cache) GetMustBool(k string) (bool, bool)
- func (c *Cache) GetMustInt(k string) (int, bool)
- func (c *Cache) GetMustString(k string) (string, bool)
- func (c *Cache) GetOrSet(k string, v interface{}) (interface{}, bool)
- func (c *Cache) Range(f func(key, value interface{}) bool)
- func (c *Cache) Set(k string, v interface{})
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.