torrent

package
v0.0.0-...-9135dd4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: Zlib Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotAdded = errors.New("torrent not addded")

Functions

This section is empty.

Types

type Grabber

type Grabber struct {
	Client *torrent.Client
	// contains filtered or unexported fields
}

func NewGrabber

func NewGrabber(st storage.Store, g gossip.Gossiper) *Grabber

func (*Grabber) ForEachSeed

func (g *Grabber) ForEachSeed(visit func(*torrent.Torrent))

func (*Grabber) Grab

func (g *Grabber) Grab(metainfoURL string) error

func (*Grabber) Stop

func (g *Grabber) Stop()

Jump to

Keyboard shortcuts

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