jtakkala/tulva — pull request #3 by robbassi (2014-09-05 02:51:01+00:00)
Title: Support for UDP trackers

Created an interface for trackers, and separated existing implementation into HttpTracker, and added UdpTracker.

Made recommended changes in #2 to UDP tracker:

- Removed unnecessary port range
- Added error checks to all binary.Read/Writes
- Re-factored some of the BinaryUnmarshal methods to follow approach in peer.go