Commit graph

873 commits

Author SHA1 Message Date
Jimmy Zelinskie
292c15e519 responses are bencode.Dict; Closes #29. 2014-07-11 22:15:51 -04:00
Jimmy Zelinskie
dfc215115a fix reversed cases 2014-07-11 20:44:28 -04:00
Jimmy Zelinskie
0f734a6069 when public, create non-existing torrents 2014-07-11 20:39:55 -04:00
Jimmy Zelinskie
3cc4679454 default to addr 127.0.0.1:6881 2014-07-09 21:26:44 -04:00
Jimmy Zelinskie
fb528b1fc3 NewAnnounce more verbose error handling 2014-07-09 18:29:05 -04:00
Jimmy Zelinskie
e2af935b83 disambiguate routing 2014-07-09 01:34:34 -04:00
Jimmy Zelinskie
afb2376286 api routes; status codes fixed 2014-07-09 00:53:57 -04:00
Jimmy Zelinskie
6ee6c0bef4 API: putUser & putTorrent impl 2014-07-08 16:55:24 -04:00
Jimmy Zelinskie
f656133a6f Tracker.Conn API made more RESTful 2014-07-08 05:58:00 -04:00
Jimmy Zelinskie
99ac8f77c8 Tracker.Conn interface update to better fit API 2014-07-07 22:44:27 -04:00
Jimmy Zelinskie
9e94643379 implemented some API funcs, added whitelist API 2014-07-07 22:23:01 -04:00
Jimmy Zelinskie
d8bcbd1dde flesh out api 2014-07-07 21:59:41 -04:00
Justin Li
7351d3e79a Add missing quotation mark in struct tag 2014-07-07 00:09:20 -04:00
Justin Li
867688449c Reflect change in sorting in the descriptions 2014-07-06 23:58:34 -04:00
Jimmy Zelinskie
672c9d160f :sort authors/contributors 2014-07-06 23:37:06 -04:00
Jimmy Zelinskie
0ed8f50348 fix syntactic inconsistencies 2014-07-06 23:35:37 -04:00
Justin Li
fb1df95366 Use new Travis badge URL 2014-07-06 18:08:55 -04:00
Justin Li
86fead3056 Extract the bencode package to github.com/chihaya/bencode 2014-07-06 18:04:05 -04:00
Justin Li
e08f745f6c Happy uber-belated new year! 2014-07-06 17:56:54 -04:00
Justin Li
09515864db Add a missing trailing 'e' to the encoding of maps 2014-07-06 17:49:28 -04:00
Justin Li
e1575d1fa3 Add bencode tests for arrays and maps 2014-07-06 17:47:32 -04:00
Justin Li
dd5e8e460f Add scalar bencode tests 2014-07-06 17:26:07 -04:00
Justin Li
e86ff58b44 Add note about Go 1.3+ and link to the doc about code organization 2014-07-06 17:09:37 -04:00
Jimmy Zelinskie
ff5dc0920d DriverConfig.Params enables generic db parameters 2014-07-03 17:37:13 -04:00
Jimmy Zelinskie
b1311b3118 log flags/gomaxprocs 2014-07-02 00:45:17 -04:00
Jimmy Zelinskie
d954378791 specify between torrent and http errors 2014-07-02 00:33:19 -04:00
Jimmy Zelinskie
6d5290d85e transition to httprouter 2014-07-01 21:40:29 -04:00
Jimmy Zelinskie
9cb5b82dc7 log->glog; more bencode fixes 2014-06-30 23:21:08 -04:00
Jimmy Zelinskie
834e584f2d fix null ptrs, misuse of bencode 2014-06-30 14:59:31 -04:00
Jimmy Zelinskie
ac45708bfd fix passing of peer slices by reference 2014-06-29 01:23:55 -04:00
Jimmy Zelinskie
3999e35453 Refactor writing peers & IPv6 Compact support. Closes #14. 2014-06-28 20:44:43 -04:00
Jimmy Zelinskie
e0ead67737 defer pprof.StopCPUProfile() 2014-06-26 17:19:18 -04:00
Jimmy Zelinskie
caba155b5d consistent logging 2014-06-26 17:10:39 -04:00
Jimmy Zelinskie
8775764fb6 deltas are now private only 2014-06-26 14:26:58 -04:00
Jimmy Zelinskie
9e37c6af02 NewPeer now handles nil 2014-06-25 21:34:21 -04:00
Jimmy Zelinskie
42693e2a3b docs, signatures; glog for main; config.New() 2014-06-24 03:59:30 -04:00
Jimmy Zelinskie
3c01900c69 fix copyright [skip ci] 2014-06-23 22:55:27 -04:00
Jimmy Zelinskie
3bfb3074b4 overhaul everything 2014-06-23 22:47:43 -04:00
Jimmy Zelinskie
18f6c32d97 update travis to go1.3 & rm redis dependency 2014-06-19 12:35:24 -04:00
Jimmy Zelinskie
49dac73d82 add mock drivers to binary 2014-06-19 12:34:47 -04:00
Jimmy Zelinskie
cb99fce6c0 server.Prime and server.serveAnnounce test 2014-05-08 11:01:02 -04:00
Jimmy Zelinskie
58586e6718 fix accidental reorder 2014-05-08 06:49:16 -04:00
Jimmy Zelinskie
cf95b2d94b improve comments and logging 2014-05-08 06:48:32 -04:00
Jimmy Zelinskie
90491dc386 mockConfig.Addr :80 -> :34000 2014-05-08 06:39:39 -04:00
Jimmy Zelinskie
0fd90b86d3 announce.go; fmt nitpicks 2014-05-08 01:09:02 -04:00
Jimmy Zelinskie
10c980adff mock.RecordAnnounce() & mock.DeltaHistory() 2014-05-07 09:01:48 -04:00
Jimmy Zelinskie
7a05ab6d64 *_handler.go -> serve_*.go 2014-05-07 05:27:09 -04:00
Jimmy Zelinskie
4a8d756f5a announce type; renames; docs 2014-05-07 05:19:36 -04:00
Jimmy Zelinskie
b32eaebcd6 first pass with linter 2014-05-01 00:30:46 -04:00
Jimmy Zelinskie
f0bed27b6d Server.BackendCon renamed Server.BackendConn 2014-04-20 02:25:21 -04:00