backend

package
v0.0.0-...-be83826 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 License: Apache-2.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 Backend

type Backend interface {
	GetFile(*FileKey) (io.Reader, bool, error)
	PutFile(*FileKey, io.Reader) error
	GetSnap(*SnapKey) (io.Reader, bool, error)
	PutSnap(*SnapKey, io.Reader) (bool, error)
}

type FileKey

type FileKey struct {
	Base     string
	Snapshot string
	FilePath string
}

type SnapKey

type SnapKey struct {
	Base     string
	Snapshot string
}

func (*SnapKey) ToHeaderKey

func (sk *SnapKey) ToHeaderKey() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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