torrent

package
Version: v0.0.0-...-f34eb16 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2014 License: Apache-2.0 Imports: 3 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 {
	// contains filtered or unexported fields
}

func NewTorrent

func NewTorrent(mi *metainfo.Metainfo, cc *config.ClientConfig) *Torrent

func (*Torrent) AddToDownloaded

func (t *Torrent) AddToDownloaded(bytes uint64)

func (*Torrent) AddToUploaded

func (t *Torrent) AddToUploaded(bytes uint64)

func (*Torrent) Downloaded

func (t *Torrent) Downloaded() uint64

func (*Torrent) GetMetaInfo

func (t *Torrent) GetMetaInfo() *metainfo.Metainfo

func (*Torrent) Left

func (t *Torrent) Left() uint64

func (*Torrent) RequestPeers

func (t *Torrent) RequestPeers()

func (*Torrent) ResetDownloaded

func (t *Torrent) ResetDownloaded()

func (*Torrent) ResetUploaded

func (t *Torrent) ResetUploaded()

func (*Torrent) Uploaded

func (t *Torrent) Uploaded() uint64

Source Files

Jump to

Keyboard shortcuts

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