download

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 28 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//lint:ignore ST1012 导出字段
	NoSuch         = errors.New("no such")
	ErrFileChecker = errors.New("file checker")
)
View Source
var FileDownLoadFail = errors.New("file download fail")

Functions

func Aget added in v1.1.0

func Aget(cxt context.Context, aurl string) (*http.Response, *time.Timer, error)

func Downauthlib added in v1.2.0

func Downauthlib(cxt context.Context, print func(string)) (err error)

func Getversionlist

func Getversionlist(cxt context.Context, atype string, print func(string)) (*version, error)

Types

type ErrHTTPCode added in v1.4.6

type ErrHTTPCode struct {
	// contains filtered or unexported fields
}

func (*ErrHTTPCode) Error added in v1.4.6

func (e *ErrHTTPCode) Error() string

type Libraries

type Libraries struct {
	// contains filtered or unexported fields
}

func Newlibraries

func Newlibraries(cxt context.Context, b []byte, typee string, print func(string), apath string) (Libraries, error)

func (Libraries) Downassets

func (l Libraries) Downassets(i int, c chan int) error

func (Libraries) Downjar

func (l Libraries) Downjar(version string) error

func (Libraries) Downlibrarie

func (l Libraries) Downlibrarie(i int, c chan int) error

func (Libraries) Unzip

func (l Libraries) Unzip(i int) error

Jump to

Keyboard shortcuts

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