trackers

package
v0.0.0-...-6b14619 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTrackers

func NewTrackers(s *libtorrent.Session, config interface{}) (libtorrent.PeerSource, error)

Types

type Config

type Config struct {
	Transports map[string]libtorrent.TrackerTransportFactory
}

type Trackers

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

func (*Trackers) Errors

func (s *Trackers) Errors() chan error

func (*Trackers) ForceUpdate

func (s *Trackers) ForceUpdate()

func (*Trackers) Metainfo

func (s *Trackers) Metainfo(m *libtorrent.Metainfo) error

func (*Trackers) Peers

func (s *Trackers) Peers() chan *libtorrent.PeerAddress

func (*Trackers) Start

func (s *Trackers) Start() error

func (*Trackers) Stop

func (s *Trackers) Stop() error

Jump to

Keyboard shortcuts

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