async

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: 2 Imported by: 0

Documentation

Overview

Package async provides an asynchronous cache

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncCache

type AsyncCache struct {
	imageserver_cache.Cache

	ErrFunc func(err error, key string, image *imageserver.Image, parameters imageserver.Parameters)
}

AsyncCache represent an asynchronous cache

func (*AsyncCache) Set

func (cache *AsyncCache) Set(key string, image *imageserver.Image, parameters imageserver.Parameters) error

Set sets the Image to the underlying Cache using another goroutine

Jump to

Keyboard shortcuts

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