Documentation ¶
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 a simple unbounded disk cache and is safe for concurrency.
func (*Cache) Get ¶
func (c *Cache) Get(key string) (io.ReadCloser, error)
Get gets a key's value by returning an io.ReadCloser that should be closed when done.
Click to show internal directories.
Click to hide internal directories.