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(url, filePath, sha256Sum string, opts ...Option) *Downloader
func (*Downloader) Errors ¶
func (d *Downloader) Errors() <-chan error
func (*Downloader) FileName ¶
func (d *Downloader) FileName() string
func (*Downloader) FileType ¶
func (d *Downloader) FileType() string
func (*Downloader) Start ¶
func (d *Downloader) Start(ctx context.Context)
func (*Downloader) Stats ¶
func (d *Downloader) Stats() <-chan Stats
Click to show internal directories.
Click to hide internal directories.