Documentation ¶
Overview ¶
Package torrent is a downloader implementer for downloading torrents
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
Client is a Torrent downloader
func (*Client) Download ¶
func (c *Client) Download(ctx context.Context, baseDir string, progress chan downloader.ProgressUpdate, torrentURL string) error
Download downloads a torrent
func (*Client) Register ¶
func (c *Client) Register() downloader.ClientRegister
Register is called to register this implementation for a protocol
Click to show internal directories.
Click to hide internal directories.