Documentation ¶
Index ¶
- Variables
- func DisplayProgressBar() bool
- func Errorf(format string, a ...interface{}) (n int, err error)
- func Errorln(a ...interface{}) (n int, err error)
- func Execute(url string, state *State, conn int, skiptls bool, dest string, ...) (err error)
- func ExistDir(folder string) bool
- func FatalCheck(err error)
- func FilterIPV4(ips []net.IP) []string
- func IsTerminal(f *os.File) bool
- func MkdirIfNotExist(folder string) error
- func NewHTTPClient(timeout int, proxy string) *http.Client
- func Printf(format string, a ...interface{}) (n int, err error)
- func Pull(url string, dest string, pg bool, thread int, mode string, timeout int, ...) (err error)
- func RandProxy(proxy string) (*neturl.URL, string)
- func SciencedirectassetsRed(url string, req *http.Request, client *http.Client)
- func Warnf(format string, a ...interface{}) (n int, err error)
- type Console
- type HttpDownloader
- type Part
- type State
- type UI
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DisplayProgressBar ¶
func DisplayProgressBar() bool
func FatalCheck ¶
func FatalCheck(err error)
func FilterIPV4 ¶
func IsTerminal ¶
func MkdirIfNotExist ¶
func SciencedirectassetsRed ¶
Types ¶
type HttpDownloader ¶
type HttpDownloader struct {
// contains filtered or unexported fields
}
func NewHttpDownloader ¶
Click to show internal directories.
Click to hide internal directories.