go-download

command module
v0.0.0-...-c3b6077 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: AGPL-3.0 Imports: 12 Imported by: 0

README

go-download

How to use:

Usage:

go run torrent.go [--n int] [--u string [--o string]] [--o string] [--v bool]

Options:
--n	Number of goroutines to download from
--o 	Output filename of specified resource
--u	Url of resource to download [requires -o]
--v	Verify etag == md5 hash of output file

Examples:

go run torrent.go --v=true --o=bigfile.mp4 --n=10

go run torrent.go

go run torrent.go --v=false --u=http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4 --o=bigbuchbunny.mp4

Testing Perfomance - # of Goroutines

go run server.go && ./test.sh

Options:

--r Rate of throttling for the server

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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