http

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDownloader

func NewDownloader(link string) downloader.Downloader

Types

type Downloader

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

Downloader simply uses the default HTTP client to download the contents of a URL.

func (*Downloader) Download

func (h *Downloader) Download(w io.WriterAt) error

Jump to

Keyboard shortcuts

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