Documentation ¶
Overview ¶
Package memcache provides a Memcache Image Cache
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemcacheCache ¶
type MemcacheCache struct {
*memcache_impl.Client
}
MemcacheCache represents a Memcache Image Cache
It uses Brad Fitzpatrick's Memcache client https://github.com/bradfitz/gomemcache
func (*MemcacheCache) Get ¶
func (cache *MemcacheCache) Get(key string, parameters imageserver.Parameters) (*imageserver.Image, error)
Get gets an Image from Memcache
func (*MemcacheCache) Set ¶
func (cache *MemcacheCache) Set(key string, image *imageserver.Image, parameters imageserver.Parameters) error
Set sets an Image to Memcache
Click to show internal directories.
Click to hide internal directories.