axel

package
v0.0.0-...-d5b31fc Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 13 Imported by: 0

README

Axel

go port of axel, a light-weight download accelerator.

说明

  • 和 axel 一样,多线程分片下载再合并,线程数参数控制
  • 只实现了 HTTP / HTTPS 下载, 未实现断点续传

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotImplemented is exported
	ErrNotImplemented = errors.New("not implemented yet")
	// ErrNotSupported is exported
	ErrNotSupported = errors.New("url type not supported")
)

Functions

This section is empty.

Types

type Axel

type Axel interface {
	Download() error
}

Axel is the go port of axel, a light download accelerator

func New

func New(remoteURL, save string, conn int, connTimeout time.Duration) (Axel, error)

New initialize an Axel according by given URL with known protocol

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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