downloader

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(url string) (*downloader, error)

func NewFromConfig

func NewFromConfig(config *Config) (*downloader, error)

Types

type Config

type Config struct {
	Url         string
	Concurrency int

	// output filename
	OutFilename    string
	CopyBufferSize int

	// is in resume mode?
	Resume bool
}

Jump to

Keyboard shortcuts

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