Documentation ¶
Overview ¶
Package diskcache provides an implementation of cache.Cache that uses the diskv package to supplement an in-memory map with persistent storage
Index ¶
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
}
Cache is an implementation of cache.Cache that supplements the in-memory map with persistent storage
func NewWithDiskv ¶
NewWithDiskv returns a new Cache using the provided Diskv as underlying storage.
Click to show internal directories.
Click to hide internal directories.