storage

package
v0.0.0-...-9fc8a72 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAccessDenied = errors.New("access denied")
View Source
var ErrFileNotFound = errors.New("file not found")
View Source
var (
	ErrStorageNotFound = errors.New("storage not found")
)

Functions

func Get

func Get(name string) (gostorages.Storage, error)

func Init

func Init(cfg []config.StorageConfig, cacheSize int)

func InitCache

func InitCache(size int)

func Read

func Read(storage, file string) (img.Img, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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