torrent

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package torrent interfaces with the anacrolix/torrent library to run the torrent downloads of the client in metainfo, infohash, and magnet link formats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTorrent

func AddTorrent(t, dir *string, client *torrent.Client, l *list.Model, theme *styles.ColorTheme) (tea.Cmd, error)

AddTorrent takes a torrent as a string and adds it to the client based on its format.

func AddTorrents

func AddTorrents(t *[]string, dir *string, client *torrent.Client, l *list.Model, theme *styles.ColorTheme) tea.Cmd

AddTorrents takes a group of torrents as strings, adds them to the client, and returns them batched.

Types

type TorrentDownloadStarted

type TorrentDownloadStarted struct{}

Jump to

Keyboard shortcuts

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