Documentation ¶
Index ¶
- type DiskCache
- func (d *DiskCache) Close() error
- func (d *DiskCache) Delete(key string) error
- func (d *DiskCache) DeleteAll() error
- func (d *DiskCache) DeleteByPrefix(keyPrefix string) error
- func (d *DiskCache) Read(key string) ([]byte, error)
- func (d *DiskCache) Write(key string, value []byte, ttl time.Duration) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskCache ¶
type DiskCache struct {
// contains filtered or unexported fields
}
DiskCache definition
func (*DiskCache) DeleteByPrefix ¶
DeleteByPrefix deletes all keys matching the prefix from disk cache
Click to show internal directories.
Click to hide internal directories.