Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileFetcher ¶
type FileFetcher interface {
FetchFile(localPath, host, bucket, key string) (io.ReadCloser, Source, error)
}
FileFetcher allows us to get a ReadCloser, the source (remote/local), or an error when attempting to get a file from either local or remote storage
type Getter ¶
type Getter struct {
// contains filtered or unexported fields
}
Getter contains unexported fields allowing the local or remote fetching of files
Click to show internal directories.
Click to hide internal directories.