custom

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomBackend

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

func New

func New(command string) *CustomBackend

func (*CustomBackend) GetFile

func (c *CustomBackend) GetFile(fk *backend.FileKey) (io.Reader, bool, error)

func (*CustomBackend) GetSnap

func (c *CustomBackend) GetSnap(sk *backend.SnapKey) (io.Reader, bool, error)

func (*CustomBackend) PutFile

func (c *CustomBackend) PutFile(fk *backend.FileKey, r io.Reader) error

func (*CustomBackend) PutSnap

func (c *CustomBackend) PutSnap(sk *backend.SnapKey, sr io.Reader) (bool, error)

Jump to

Keyboard shortcuts

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