Documentation ¶ Index ¶ type Torrent func New(target string) *Torrent func (t *Torrent) Archive(archiveDir string) error func (t *Torrent) DeleteFiles() error func (t *Torrent) Generate(torrentPath, comment, source string, announceURLs []string, origin string, ...) error func (t *Torrent) Seed(watchDir, seedDir string) error 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 ¶ View all Source files torrent.go Click to show internal directories. Click to hide internal directories.