Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLoader ¶
type FileLoader struct { File string NumWorkers int ZoneURL string // contains filtered or unexported fields }
func NewFileLoader ¶
func NewFileLoader(outputFile, zoneURL string, numWorkers int) FileLoader
func (FileLoader) Download ¶
Downloads the zone data concurrently and returns the resulting file as an `io.Reader`.
func (FileLoader) DownloadZone ¶
func (fl FileLoader) DownloadZone(ctx context.Context, accessToken string) error
Simply combines the functionality of FileLoader's `Download` and `Save` functions.
type S3Loader ¶
type S3Loader struct { Bucket string Key string NumWorkers int Uploader manager.Uploader ZoneURL string // contains filtered or unexported fields }
func (S3Loader) Download ¶
Downloads the zone data concurrently and returns the resulting file as an `io.Reader`.
func (S3Loader) DownloadZone ¶
Simply combines the functionality of FileLoader's `Download` and `Save` functions.
Click to show internal directories.
Click to hide internal directories.