torrent

package
Version: v0.15.9 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Torrent

type Torrent struct {
	Target   string
	Filename string
}

func New

func New(target string) *Torrent

func (*Torrent) Archive added in v0.6.0

func (t *Torrent) Archive(archiveDir string) error

func (*Torrent) DeleteFiles added in v0.6.0

func (t *Torrent) DeleteFiles() error

func (*Torrent) Generate

func (t *Torrent) Generate(torrentPath, comment, source string, announceURLs []string, origin string, excludedSubdirs []string) error

func (*Torrent) Seed

func (t *Torrent) Seed(watchDir, seedDir string) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL