Documentation ¶
Index ¶
- type Cache
- func (c *Cache) Alloc(n int) CacheData
- func (c *Cache) Available() int64
- func (c *Cache) Capacity() int64
- func (c *Cache) DeletePaths(_ context.Context, _ []string)
- func (c *Cache) Flush()
- func (c *Cache) Get(ctx context.Context, key cache.CacheKey) (CacheData, bool)
- func (c *Cache) Set(ctx context.Context, key cache.CacheKey, value CacheData) error
- func (c *Cache) Size() int64
- func (c *Cache) Used() int64
- type CacheData
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶ added in v1.2.0
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) DeletePaths ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.