source

package
v0.0.0-...-3f851fe Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilerSource

type FilerSource struct {
	Dir string
	// contains filtered or unexported fields
}

func (*FilerSource) Initialize

func (fs *FilerSource) Initialize(configuration util.Configuration) error

func (*FilerSource) LookupFileId

func (fs *FilerSource) LookupFileId(ctx context.Context, part string) (fileUrl string, err error)

func (*FilerSource) ReadPart

func (fs *FilerSource) ReadPart(ctx context.Context, part string) (filename string, header http.Header, readCloser io.ReadCloser, err error)

type ReplicationSource

type ReplicationSource interface {
	ReadPart(part string) io.ReadCloser
}

Jump to

Keyboard shortcuts

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