package
Version:
v1.9.0
Opens a new window with list of versions in this module.
Published: Jun 13, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cache is a simple unbounded disk cache and is safe for concurrency.
NewCache creates a new cache.
Delete deletes a key/value pair.
Get gets a key's value by returning an io.ReadCloser that should be closed when done.
Keys returns the keys in sorted order.
Put puts a key/value pair in the cache and reads the value from an io.Reader.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.