Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...OptionFunc) *Downloader
func (*Downloader) Close ¶
func (dl *Downloader) Close()
func (*Downloader) Send ¶
func (dl *Downloader) Send(di File)
func (*Downloader) Start ¶
func (dl *Downloader) Start()
func (*Downloader) Wait ¶
func (dl *Downloader) Wait()
type OptionFunc ¶
type OptionFunc func(*Options)
func WithProxy ¶
func WithProxy(proxyURL string) OptionFunc
func WithThreads ¶
func WithThreads(threads int) OptionFunc
func WithTimeout ¶
func WithTimeout(timeout int) OptionFunc
func WithWarnAsErrorLimit ¶
func WithWarnAsErrorLimit(limit int) OptionFunc
Click to show internal directories.
Click to hide internal directories.