Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFileExists = errors.New("file already exists") ErrCreateOutputFile = errors.New("failed to create output file") ErrStartDownload = errors.New("failed to start download") ErrDuringDownload = errors.New("failed during download") ErrDownloadSize = errors.New("incorrect download size") ErrUnsafeDownload = errors.New("sha1 hashes don't match... deleting the file for your safety") ErrUnsafeDelete = errors.New("failed to delete unsafe file") )
Functions ¶
func DownloadJar ¶
func DownloadJar(id *structure.PistonMetaId, dd structure.PistonMetaPackageDownloadsData) (int64, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.