downloader

package
v0.0.0-...-12ff3c9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChecksumFile

func ChecksumFile(filepath string) (string, error)

func DownloadFile

func DownloadFile(filepath, url, checksum, extra string) error

Types

type WriteCounter

type WriteCounter struct {
	Total uint64
	Name  string
}

func (WriteCounter) PrintProgress

func (wc WriteCounter) PrintProgress()

func (*WriteCounter) Write

func (wc *WriteCounter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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