memcache

package
v0.0.0-...-0345585 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2014 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL