Golang multi routine downloader
1、Support multi-goroutine download
2、Break point and continuous download
3、Download error retry(unexpected EOF,etc)
go get -u https://github.com/bryant24/Mdown
package main
import (
"strings"
"github.com/bryant24/Mdown"
)
func main() {
origin := "https://abc.com/abc.zip"
target := "a.zip"
timeout:= 30
downloader := NewMDownloader(origin, target, timeout)
downloader.Start()
}