Skip to content
/ Mdown Public

A simple multi-routine downloader use golang

Notifications You must be signed in to change notification settings

bryant24/Mdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduce

Golang multi routine downloader
1、Support multi-goroutine download
2、Break point and continuous download
3、Download error retry(unexpected EOF,etc)  

Install

go get -u https://github.com/bryant24/Mdown

How to use

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()
}

About

A simple multi-routine downloader use golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages