Commit Graph

18 Commits

Author SHA1 Message Date
ucwong c435d713c4 cmd/torrent-pick | add missing ticker.Stop() call 2020-04-03 17:02:16 +10:00
Matt Joiner d24922dc09 Add support for non-IP-based networks
Includes a test with unix sockets. Exposes AddDialer, AddListener, and reworks Peer.
2020-02-20 16:47:37 +11:00
Matt Joiner cb1bf0f413 goimports -local 2019-08-21 20:58:40 +10:00
Matt Joiner fc4fab91f5 Switch to goimports import sorting
Used to use sortimports, but it's old, and goimports seems to have an opinion now.
2018-11-02 23:12:01 +11:00
Matt Joiner cee8e3b9f9 Update external use of ClientConfig 2018-06-16 16:33:40 +10:00
Matt Joiner 0b553b296f Add File priorities
Fixes #220.
2018-01-21 22:49:12 +11:00
Matt Joiner 7b668237bc cmd/torrent-pick: Close file Reader 2018-01-06 16:41:05 +11:00
Matt Joiner 9b718566ba Add File.NewReader
Fixes #222
2018-01-06 16:37:13 +11:00
Matt Joiner b714da8184 Torrent.AddPeers can't fail, so don't return an error 2016-05-12 12:26:09 +10:00
Matt Joiner d3a1c79c79 Merge Torrent and torrent types 2016-04-03 18:40:43 +10:00
Matt Joiner 0e85ff190d go vet 2016-02-02 00:44:29 +11:00
Matt Joiner fe9d5702f6 Fixes for torrent.Reader not having ReadAt 2016-01-18 20:12:51 +11:00
Matt Joiner ea0ccf6a23 Tidy 2015-10-23 12:42:57 +11:00
Alexander Baranov 029f431ff6 Make torrent-pick work with latest changes 2015-06-25 21:02:14 +03:00
Matt Joiner ca27d431f4 cmd/torrent-pick: gofmt and sortimports 2015-06-03 13:31:27 +10:00
Alexander Baranov 05d597a9f7 Only wait for io.Copy; Remove obsolete from client 2015-06-01 23:11:45 +03:00
Alexander Baranov 577b129df5 Use higher-level API to get file 2015-06-01 22:56:10 +03:00
Alexander Baranov 1bb31b979d Rename picker tool 2015-05-28 23:55:15 +03:00