Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
HTTPClient HTTPClient
}
func NewDownloader ¶
func NewDownloader(dialTimeout time.Duration) *Downloader
type ProgressBar ¶
type ProgressBar interface {
Finish()
NewProxyReader(r io.Reader) *pb.Reader
SetTotal(total int) *pb.ProgressBar
Start() *pb.ProgressBar
}
type RawHTTPStatusError ¶
RawHTTPStatusError represents any response with a 4xx or 5xx status code.
func (RawHTTPStatusError) Error ¶
func (r RawHTTPStatusError) Error() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.