downloader

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

downloader package provides http download capability

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericDownloader

type GenericDownloader interface {
	DownloadFile(fileName, url string) error
}

func NewGenericDownloader

func NewGenericDownloader(bufferSizeKB int) GenericDownloader

type HTTPGenericDownloader added in v0.4.9

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

func (*HTTPGenericDownloader) DownloadFile added in v0.4.9

func (d *HTTPGenericDownloader) DownloadFile(fileName, url string) error

type IllegalBufferSize

type IllegalBufferSize struct {
	BufferSizeKB int
}

func (IllegalBufferSize) Error

func (e IllegalBufferSize) Error() string

Jump to

Keyboard shortcuts

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