backends

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2016 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadSeekCloser

type ReadSeekCloser interface {
	io.Reader
	io.Closer
	io.Seeker
	io.ReaderAt
}

type StorageBackend

type StorageBackend interface {
	Delete(key string) error
	Exists(key string) (bool, error)
	Get(key string) ([]byte, error)
	Put(key string, r io.Reader) (int64, error)
	Open(key string) (ReadSeekCloser, error)
	ServeFile(key string, w http.ResponseWriter, r *http.Request)
	Size(key string) (int64, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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