downloader

package
v62.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(DownloadChannel chan Download)

Start starts the downloadchannel

Types

type Download

type Download struct {
	Magnetlink    string
	DownloadDir   string
	ResultChannel chan Result
}

Download is the struct that holds everything needed for downloading magnetlinks

type Result

type Result struct {
	Files     []torrent.File
	Completed bool
	Error     error
}

Result holds the result of a download attempt

Jump to

Keyboard shortcuts

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