Commit graph

72 commits

Author SHA1 Message Date
Justin Li
586b6852de Refactor more, add scrape tests 2014-07-15 21:07:33 -04:00
Justin Li
bec70e9759 Refactor peer dict creation in the announce test 2014-07-15 20:50:33 -04:00
Justin Li
c36974d515 Use bencode.List over []interface{} 2014-07-15 20:45:18 -04:00
Justin Li
019c87182e Add public announce tests and refactor 2014-07-15 20:38:17 -04:00
Justin Li
850cedf7ec Use the bencode package to avoid hardcoded test strings 2014-07-15 19:35:18 -04:00
Jimmy Zelinskie
d2ba9fb9f7 repurpose drivers from mock to no-op and memory 2014-07-15 00:22:04 -04:00
Jimmy Zelinskie
8ddbf32002 rm last printf in http 2014-07-12 01:52:27 -04:00
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
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
Jimmy Zelinskie
0ed8f50348 fix syntactic inconsistencies 2014-07-06 23:35:37 -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
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