Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultCopier ¶
type DefaultCopier struct{}
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
Downloader implements Downloader over HTTP protocol.
func NewDownloader ¶
func NewDownloader(ctx context.Context, client http.Client) *Downloader
NewDownloader creates a new http downloader. if ctx is nil, it will be set to context.Background().
func (*Downloader) Download ¶
func (dler *Downloader) Download(info Info) error
Download downloads using given info.
Click to show internal directories.
Click to hide internal directories.