BitTorrent implementation written in Go (golang).
Implementation is in progress, a lot of stuff is missing.
- peer list download from tracker
- download and seed a torrent
- upnp + nat-pmp
- bandwidth measuring/limiting
- magnet link
- http seeds
- merkle trees
Mostly complete implementation. Float handling is not implemented. The package has only smoke tests, failures and error handling is not really tested. The biggest missing feature is to add support to struct tags override the struct names.
The torrent client itself. If you want to use this library just to download/seed torrents, this is what you are looking for.
Stores configuration for the client to avoid circular dependencies with the tracker package
A struct is built on the top of the url, but retrieving the actual torrent won't be implemented until DHT is ready.
This package is actually just a struct which represents the torrent metainfo structure.
Wrapper structure one the torrent file which is being downloaded/seeded.
Torrent tracker manager.
Misc functions are here.
There is no documentation for this package.