reader

package
v0.0.0-...-ba674e6 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	// Open opens up a backup file for reading.
	Open(path string) (rc io.ReadCloser, err error)
}

Reader defines required reader operations

func NewABSReader

func NewABSReader(abs *storage.BlobStorageClient) Reader

NewABSReader return a Reader implementation to read a file from ABS in the form of absReader

func NewS3Reader

func NewS3Reader(s3 *s3.S3) Reader

Jump to

Keyboard shortcuts

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