http

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventNames = []string{"empty", "started", "completed", "stopped"}

Functions

func NewTransport

func NewTransport(u *url.URL, config interface{}) (libtorrent.TrackerTransport, error)

Types

type AnnounceResponse

type AnnounceResponse struct {
	FailureReason   string                    `bencode:"failure reason"`
	Downloaded      uint32                    `bencode:"downloaded"`
	Incomplete      uint32                    `bencode:"incomplete"`
	Complete        uint32                    `bencode:"complete"`
	Interval        int                       `bencode:"interval"`
	MinimumInterval int                       `bencode:"min interval"`
	RawPeers        interface{}               `bencode:"peers"`
	Peers           []*libtorrent.PeerAddress `bencode:"-"`
}

type Transport

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

Jump to

Keyboard shortcuts

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