Commit graph

822 commits

Author SHA1 Message Date
Justin Li
9526df74ad udp: Implement scrapes 2015-02-20 12:35:31 -05:00
Justin Li
be5720dadd deps: Update bencode to pick up uint16 fix 2015-02-20 12:29:02 -05:00
Justin Li
5eda5f451d Add a .gitignore for the binary and config file 2015-02-20 12:02:00 -05:00
Justin Li
abd2b5ade4 udp: Fix minor protocol errors, announces working 2015-02-20 11:44:05 -05:00
Justin Li
22e83739c9 deps: Add bufferpool dependency 2015-02-20 02:21:21 -05:00
Justin Li
50292c7de7 udp: Implement announces 2015-02-20 02:18:44 -05:00
Justin Li
e3aff35532 models: Use a uint16 for port numbers 2015-02-20 02:06:44 -05:00
Justin Li
d9a7611eee http: Unexport announce/scrape creation functions 2015-02-20 01:36:49 -05:00
Justin Li
c2770ee741 udp: Implement initial connection protocol 2015-02-20 01:12:47 -05:00
Justin Li
778b64defa udp: Add UDP configuration, move tracker shutdown to the main package 2015-02-19 23:46:28 -05:00
Justin Li
1698f0017b udp: Add AES-based connection ID generation 2015-02-19 22:25:42 -05:00
Justin Li
c41769eb85 readme: Update wording 2015-02-19 20:00:25 -05:00
Jimmy Zelinskie
0d3b5c83fe README: testing subheader of build/install
[ci skip]
2015-02-17 13:21:25 -05:00
Justin Li
46c72ddbb4 Add basic overview of configuration keys 2015-02-17 01:49:53 -05:00
Jimmy Zelinskie
1bc4ce345d travis: set sudo=false
This enables our builds to be run in a container on TravisCI, which is drastically faster.
2015-02-09 19:24:01 -05:00
Jimmy Zelinskie
14ead047ab http: improve clarity of /check 2015-02-08 18:05:30 -05:00
Jimmy Zelinskie
8c25e1ade3 Merge branch 'develop' 2015-02-08 17:19:53 -05:00
Jimmy Zelinskie
8ae635e285 godeps: strip import comments 2015-02-08 17:19:10 -05:00
Jimmy Zelinskie
dfbf4a6fad http: ping backend on healthcheck
Fixes #37.
2015-02-08 17:15:27 -05:00
Jimmy Zelinskie
a0bcc07893 backend: add a Ping method to backend 2015-02-08 17:14:48 -05:00
Jimmy Zelinskie
e02f1dd0ea tracker: stop exporting shard methods 2015-02-08 17:14:05 -05:00
Jimmy Zelinskie
6f742f29e1 docs: target for changes is develop, not master 2015-02-08 17:13:39 -05:00
Jimmy Zelinskie
5ee355ed77 Merge branch 'develop' 2015-02-08 02:29:18 -05:00
Jimmy Zelinskie
443fb4b70d http: add GET route for clients 2015-02-08 02:20:48 -05:00
Jimmy Zelinskie
f98e166744 config: add client_whitelist to example config 2015-02-08 02:20:10 -05:00
Jimmy Zelinskie
8587d3e980 godep: refresh vendored dependencies 2015-02-08 02:15:23 -05:00
Justin Li
54593ff5c2 Merge pull request #43 from chihaya/develop
Update to Go 1.4
2015-02-03 09:22:41 -05:00
Jimmy Zelinskie
c4c678e7a9 http: add enough comments to pass go lint
[ci skip]
2015-02-03 02:54:34 -05:00
Justin Li
da1528eeb8 build: Run Go 1.4 on travis 2015-01-29 12:14:01 -05:00
Justin Li
2bec1f323b deps: Update dependencies to Go 1.4 2015-01-29 12:10:37 -05:00
Jimmy Zelinskie
4d1b730631 docs: update CONTRIBUTING.md
This includes more information about style and the PR process.
[skip ci]
2015-01-28 23:37:02 -05:00
Jimmy Zelinskie
9a4f1a5d2d docs: attempt to keep README within 80 chars
[skip ci]
2015-01-28 23:26:03 -05:00
Jimmy Zelinskie
347eb2d256 remove CONTRIBUTORS
We will let GitHub keep track of this. It isn't up to date anyway.
2015-01-28 23:07:24 -05:00
Jimmy Zelinskie
dd2c1e95fc docs: move contributing info into CONTRIBUTING.MD 2015-01-28 23:06:22 -05:00
Jimmy Zelinskie
88df5e2c74 docs: move driver docs into backend/README.md 2015-01-28 22:51:09 -05:00
Justin Li
87c68f1973 2015 2015-01-01 12:02:25 -05:00
Jimmy Zelinskie
051a3ce26d Fix missing dir in clone step of install instructs
[ci skip]
2014-11-09 17:56:56 -05:00
Jimmy Zelinskie
ddd10d9732 Begin refactor to better encapsulate configuration
This also updates the example_config.json which did not previously work.
Config.Config is now composed of embedded structs of other configs that
can later be used to clearly have a separation of concerns.
2014-11-01 20:12:40 -04:00
Jimmy Zelinskie
d754b5b376 Return PeerMap by reference.
In accordance with `go vet`, locks should only be returned by reference.
2014-10-28 12:28:51 -04:00
Jimmy Zelinskie
d46beb0f7d Remove unkeyed composite literals.
This was done to keep in accordance with `go vet`.
2014-10-28 12:26:37 -04:00
Jimmy Zelinskie
bbf85de692 Rewrite README and include new godep instructions.
[ci skip]
2014-10-27 23:20:09 -04:00
Jimmy Zelinskie
ad955d73db Vendor third party dependencies. 2014-10-23 01:02:22 -04:00
Jimmy Zelinskie
25eb6316be TravisCI now uses Godep and IRC notices. 2014-10-22 21:57:06 -04:00
Jimmy Zelinskie
3c3b6cfd21 Vendor dependencies with Godep. Fixes #35. 2014-10-22 18:45:41 -04:00
Cooper Lees
1920b573c0 Merge pull request #34 from sadbox/master
corrected link to example_config.json in README.md
2014-10-02 10:13:48 -07:00
James McGuire
b47dde4043 corrected link to example_config.json in README.md 2014-10-02 10:09:20 -07:00
Jimmy Zelinskie
deb44da5f0 add missing json struct tag 2014-09-29 15:14:46 -04:00
Cooper Lees
7acabfe9f6 Merge pull request #33 from psaab/develop
Fix IPv4 stats
2014-09-29 12:04:18 -07:00
Paul Saab
be2ddb7e4d Fix IPv4 stats
net.ParseIP() will return a v4mapped address which makes len(ip) ==
IPv6len and breaks stats for IPv4 requests.
2014-09-29 11:55:18 -07:00
Justin Li
7b7e7fce6b Use signed ints for current counts 2014-09-25 15:25:02 -04:00