Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peer ¶
func UnmarshalPeers ¶
type Torrent ¶
type Torrent struct { Announce string `json:"announce"` InfoHash [20]byte `json:"info_hash"` PieceHashes [][20]byte `json:"piece_hashes"` PieceLength int `json:"piece_length"` Files []*TorrentFile `json:"files"` }
func (*Torrent) RequestPeers ¶
func (*Torrent) TotalLength ¶
type TorrentFile ¶
type TrackerResponse ¶
Click to show internal directories.
Click to hide internal directories.