Coder Social home page Coder Social logo

gorc's Introduction

多线程并发下载器-gorc

gorc是类wget多线程下载器,支持直接从资源url并发获取资源

使用说明:

1.手动选择模式和自动分配模式,参数:manual,默认为false/自动
2.指定并发线程数,参数:thread,默认为5
3.指定下载的url,参数:url
4.指定分块下载的块大小,参数:blockSize,例如,默认1代表16m,2代表32m,4代表64m,以此类推
5.指定分块下载失败后尝试次数,参数:attempt,默认为3
6.指定文件存放位置,参数:root,默认为项目的lib目录
7.程序使用秩序调用gorc.Download(url string)函数即可

功能点:

1.支持多线程并发下载
2.支持断点续传
3.支持进度条显示
4.支持手动设置临时文件大小
5.支持自动清理缓存文件

效果示例:

Windows7下
自动模式

自动续传模式

手动模式

手动续传模式

gorc's People

Contributors

v-i-c-t-o-r avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.