stores

package
v0.0.0-...-750c881 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorNothingToFetch = errors.New("No stored bytes to fetch")
)

Functions

This section is empty.

Types

type MemStore

type MemStore struct {
	// contains filtered or unexported fields
}

type SingleStore

type SingleStore struct {
	// contains filtered or unexported fields
}

func NewSingleStore

func NewSingleStore() *SingleStore

func (*SingleStore) Fetch

func (s *SingleStore) Fetch() (io.Reader, error)

func (*SingleStore) Write

func (s *SingleStore) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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