Directories ¶
Path | Synopsis |
---|---|
Package bencode implements encoding and decoding of bencoded objects, which has a similar API to the encoding/json package and many other serialization formats.
|
Package bencode implements encoding and decoding of bencoded objects, which has a similar API to the encoding/json package and many other serialization formats. |
Package dht implements the DHT Protocol.
|
Package dht implements the DHT Protocol. |
Package downloader is used to download the torrent or the real file from the peer node by the peer wire protocol.
|
Package downloader is used to download the torrent or the real file from the peer node by the peer wire protocol. |
internal
|
|
Package krpc supplies the KRPC message used by DHT.
|
Package krpc supplies the KRPC message used by DHT. |
Package metainfo is used to encode or decode the metainfo of the torrent file and the MagNet link.
|
Package metainfo is used to encode or decode the metainfo of the torrent file and the MagNet link. |
Package peerprotocol implements the core BT peer protocol.
|
Package peerprotocol implements the core BT peer protocol. |
Package tracker supplies some common type interfaces of the BT tracker protocol.
|
Package tracker supplies some common type interfaces of the BT tracker protocol. |
httptracker
Package httptracker implements the tracker protocol based on HTTP/HTTPS.
|
Package httptracker implements the tracker protocol based on HTTP/HTTPS. |
udptracker
Package udptracker implements the tracker protocol based on UDP.
|
Package udptracker implements the tracker protocol based on UDP. |
Click to show internal directories.
Click to hide internal directories.