Documentation ¶
Overview ¶
Modified package from https://github.com/veggiedefender/torrent-client used for parsing torrent files and computing info hashes.
Index ¶
Constants ¶
View Source
const Port uint16 = 6881
Port to listen on
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BencodeTorrent ¶
type BencodeTorrent struct { Announce string `bencode:"announce"` Info bencodeInfo `bencode:"info"` }
func (*BencodeTorrent) ToTorrentFile ¶
func (bto *BencodeTorrent) ToTorrentFile() (TorrentFile, error)
Click to show internal directories.
Click to hide internal directories.