file

package
v0.0.0-...-8ca66ec Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package file provides a disk based cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Path string
	// contains filtered or unexported fields
}

Cache is a implementation of disk based cache system.

func (*Cache) Get

func (cache *Cache) Get(key string, params imageserver.Params) (*imageserver.Image, error)

Get implements imageserver/cache.Cache.

func (*Cache) Set

func (cache *Cache) Set(key string, im *imageserver.Image, params imageserver.Params) error

Set implements imageserver/cache.Cache.

Jump to

Keyboard shortcuts

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