Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageData ¶
func ImageData(storage store.ImageStore, gc groupcache.Context) ([]byte, error)
Types ¶
type CacheContext ¶
func RequestContext ¶
func RequestContext(r *http.Request) *CacheContext
func (*CacheContext) CacheKey ¶
func (c *CacheContext) CacheKey() string
func (*CacheContext) ReadModified ¶
func (c *CacheContext) ReadModified(s store.ImageStore) (io.ReadCloser, error)
func (*CacheContext) ReadOriginal ¶
func (c *CacheContext) ReadOriginal(s store.ImageStore) (io.ReadCloser, error)
func (*CacheContext) WriteModified ¶
func (c *CacheContext) WriteModified(buf []byte, s store.ImageStore) error
Click to show internal directories.
Click to hide internal directories.