Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrContentType = errors.New("cache: Content-Type of image is not recognized")
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) Get ¶
Get returns a buffered image from the cache. The image will be downloaded if it doesn't already exist within.
Click to show internal directories.
Click to hide internal directories.