Documentation ¶
Overview ¶
Package redis provides a Redis Image Cache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache is a Redis Image Cache.
It uses Gary Burd's Redis client https://github.com/garyburd/redigo .
func (*Cache) Get ¶
func (cache *Cache) Get(key string, params imageserver.Params) (*imageserver.Image, error)
Get implements Cache.
func (*Cache) Set ¶
func (cache *Cache) Set(key string, im *imageserver.Image, params imageserver.Params) error
Set implements Cache.
Click to show internal directories.
Click to hide internal directories.