Documentation ¶
Index ¶
- type Cache
- func (c *Cache) Clear()
- func (c *Cache) Close()
- func (c *Cache) Get(key string, loader Loader) ([]byte, error)
- func (c *Cache) Len() int
- func (c *Cache) LoadedBytesPerSecond() int
- func (c *Cache) LoadsActive() int
- func (c *Cache) LoadsPerSecond() int
- func (c *Cache) LoadsWaiting() int
- func (c *Cache) Size() int64
- func (c *Cache) Utilization() int
- type Loader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) LoadedBytesPerSecond ¶ added in v0.5.3
func (*Cache) LoadsActive ¶ added in v0.5.5
func (*Cache) LoadsPerSecond ¶ added in v0.5.2
func (*Cache) LoadsWaiting ¶ added in v0.5.2
func (*Cache) Utilization ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.