torrent

package
v0.3.9-2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TORRENT_TRACKER_SERVICE = "torrent-tracker"
)

Variables

This section is empty.

Functions

func GetTorrentSeeding

func GetTorrentSeeding(filepath string) bool

func GetTrackers

func GetTrackers() []string

func RemoveTorrent

func RemoveTorrent(filepath string)

func SeedTorrent

func SeedTorrent(torrentpath string, imageId, format string) error

func SetTorrentSeeding

func SetTorrentSeeding(filepath string, seeding bool)

func StopTorrents

func StopTorrents()

Types

type STorrentProcessState

type STorrentProcessState struct {
	// contains filtered or unexported fields
}

func (*STorrentProcessState) StopAndWait

func (stat *STorrentProcessState) StopAndWait() error

Jump to

Keyboard shortcuts

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