{"action":"created","comment":{"url":"https://api.github.com/repos/anacrolix/torrent/pulls/comments/69497126","id":69497126,"diff_hunk":"@@ -37,6 +38,12 @@ type peersKey struct {\n \tPort    int\n }\n \n+type TorrentStats struct {\n+\tDownloaded int64\n+\tUploaded   int64\n+\tPeersCount int\n+}","path":"torrent.go","position":16,"original_position":16,"commit_id":"9704577372a47e06a5ee087f9188e189df3b4ab4","original_commit_id":"9704577372a47e06a5ee087f9188e189df3b4ab4","user":{"login":"anacrolix","id":988750,"avatar_url":"https://avatars.githubusercontent.com/u/988750?v=3","gravatar_id":"","url":"https://api.github.com/users/anacrolix","html_url":"https://github.com/anacrolix","followers_url":"https://api.github.com/users/anacrolix/followers","following_url":"https://api.github.com/users/anacrolix/following{/other_user}","gists_url":"https://api.github.com/users/anacrolix/gists{/gist_id}","starred_url":"https://api.github.com/users/anacrolix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anacrolix/subscriptions","organizations_url":"https://api.github.com/users/anacrolix/orgs","repos_url":"https://api.github.com/users/anacrolix/repos","events_url":"https://api.github.com/users/anacrolix/events{/privacy}","received_events_url":"https://api.github.com/users/anacrolix/received_events","type":"User","site_admin":false},"body":"Put the PEX and DHT stats here.","created_at":"2016-07-05T00:38:27Z","updated_at":"2016-07-05T00:38:27Z","html_url":"https://github.com/anacrolix/torrent/pull/90#discussion_r69497126","pull_request_url":"https://api.github.com/repos/anacrolix/torrent/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/anacrolix/torrent/pulls/comments/69497126"},"html":{"href":"https://github.com/anacrolix/torrent/pull/90#discussion_r69497126"},"pull_request":{"href":"https://api.github.com/repos/anacrolix/torrent/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/anacrolix/torrent/pulls/90","id":76191298,"html_url":"https://github.com/anacrolix/torrent/pull/90","diff_url":"https://github.com/anacrolix/torrent/pull/90.diff","patch_url":"https://github.com/anacrolix/torrent/pull/90.patch","issue_url":"https://api.github.com/repos/anacrolix/torrent/issues/90","number":90,"state":"open","locked":false,"title":"Less features","user":{"login":"axet","id":298672,"avatar_url":"https://avatars.githubusercontent.com/u/298672?v=3","gravatar_id":"","url":"https://api.github.com/users/axet","html_url":"https://github.com/axet","followers_url":"https://api.github.com/users/axet/followers","following_url":"https://api.github.com/users/axet/following{/other_user}","gists_url":"https://api.github.com/users/axet/gists{/gist_id}","starred_url":"https://api.github.com/users/axet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axet/subscriptions","organizations_url":"https://api.github.com/users/axet/orgs","repos_url":"https://api.github.com/users/axet/repos","events_url":"https://api.github.com/users/axet/events{/privacy}","received_events_url":"https://api.github.com/users/axet/received_events","type":"User","site_admin":false},"body":"- Between application restarts torrent library should not run consistency checks on files, instead it should check one torrent added, and read runtime information from state file. This require additional Check() method accessed by user.\r\n\r\n- Count network bytes for Client and Torrent objects, so UI can show bandwidth information.\r\n\r\n- Better network management requires to control when torrent active or paused. And few methods for configure port's for UPNP.","created_at":"2016-07-04T18:06:24Z","updated_at":"2016-07-05T00:38:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf01f0e6763aeb4db9434b3863fbec3ddf884d97","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/anacrolix/torrent/pulls/90/commits","review_comments_url":"https://api.github.com/repos/anacrolix/torrent/pulls/90/comments","review_comment_url":"https://api.github.com/repos/anacrolix/torrent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anacrolix/torrent/issues/90/comments","statuses_url":"https://api.github.com/repos/anacrolix/torrent/statuses/9704577372a47e06a5ee087f9188e189df3b4ab4","head":{"label":"axet:master","ref":"master","sha":"9704577372a47e06a5ee087f9188e189df3b4ab4","user":{"login":"axet","id":298672,"avatar_url":"https://avatars.githubusercontent.com/u/298672?v=3","gravatar_id":"","url":"https://api.github.com/users/axet","html_url":"https://github.com/axet","followers_url":"https://api.github.com/users/axet/followers","following_url":"https://api.github.com/users/axet/following{/other_user}","gists_url":"https://api.github.com/users/axet/gists{/gist_id}","starred_url":"https://api.github.com/users/axet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axet/subscriptions","organizations_url":"https://api.github.com/users/axet/orgs","repos_url":"https://api.github.com/users/axet/repos","events_url":"https://api.github.com/users/axet/events{/privacy}","received_events_url":"https://api.github.com/users/axet/received_events","type":"User","site_admin":false},"repo":{"id":61205768,"name":"torrent","full_name":"axet/torrent","owner":{"login":"axet","id":298672,"avatar_url":"https://avatars.githubusercontent.com/u/298672?v=3","gravatar_id":"","url":"https://api.github.com/users/axet","html_url":"https://github.com/axet","followers_url":"https://api.github.com/users/axet/followers","following_url":"https://api.github.com/users/axet/following{/other_user}","gists_url":"https://api.github.com/users/axet/gists{/gist_id}","starred_url":"https://api.github.com/users/axet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axet/subscriptions","organizations_url":"https://api.github.com/users/axet/orgs","repos_url":"https://api.github.com/users/axet/repos","events_url":"https://api.github.com/users/axet/events{/privacy}","received_events_url":"https://api.github.com/users/axet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/axet/torrent","description":"Full-featured BitTorrent client package and utilities","fork":true,"url":"https://api.github.com/repos/axet/torrent","forks_url":"https://api.github.com/repos/axet/torrent/forks","keys_url":"https://api.github.com/repos/axet/torrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/axet/torrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/axet/torrent/teams","hooks_url":"https://api.github.com/repos/axet/torrent/hooks","issue_events_url":"https://api.github.com/repos/axet/torrent/issues/events{/number}","events_url":"https://api.github.com/repos/axet/torrent/events","assignees_url":"https://api.github.com/repos/axet/torrent/assignees{/user}","branches_url":"https://api.github.com/repos/axet/torrent/branches{/branch}","tags_url":"https://api.github.com/repos/axet/torrent/tags","blobs_url":"https://api.github.com/repos/axet/torrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/axet/torrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/axet/torrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/axet/torrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/axet/torrent/statuses/{sha}","languages_url":"https://api.github.com/repos/axet/torrent/languages","stargazers_url":"https://api.github.com/repos/axet/torrent/stargazers","contributors_url":"https://api.github.com/repos/axet/torrent/contributors","subscribers_url":"https://api.github.com/repos/axet/torrent/subscribers","subscription_url":"https://api.github.com/repos/axet/torrent/subscription","commits_url":"https://api.github.com/repos/axet/torrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/axet/torrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/axet/torrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/axet/torrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/axet/torrent/contents/{+path}","compare_url":"https://api.github.com/repos/axet/torrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/axet/torrent/merges","archive_url":"https://api.github.com/repos/axet/torrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/axet/torrent/downloads","issues_url":"https://api.github.com/repos/axet/torrent/issues{/number}","pulls_url":"https://api.github.com/repos/axet/torrent/pulls{/number}","milestones_url":"https://api.github.com/repos/axet/torrent/milestones{/number}","notifications_url":"https://api.github.com/repos/axet/torrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/axet/torrent/labels{/name}","releases_url":"https://api.github.com/repos/axet/torrent/releases{/id}","deployments_url":"https://api.github.com/repos/axet/torrent/deployments","created_at":"2016-06-15T12:19:41Z","updated_at":"2016-06-17T11:37:08Z","pushed_at":"2016-07-04T18:03:48Z","git_url":"git://github.com/axet/torrent.git","ssh_url":"git@github.com:axet/torrent.git","clone_url":"https://github.com/axet/torrent.git","svn_url":"https://github.com/axet/torrent","homepage":"","size":72387,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"anacrolix:master","ref":"master","sha":"12486412b340e31ff8bc9f2c781f8a952890b5a1","user":{"login":"anacrolix","id":988750,"avatar_url":"https://avatars.githubusercontent.com/u/988750?v=3","gravatar_id":"","url":"https://api.github.com/users/anacrolix","html_url":"https://github.com/anacrolix","followers_url":"https://api.github.com/users/anacrolix/followers","following_url":"https://api.github.com/users/anacrolix/following{/other_user}","gists_url":"https://api.github.com/users/anacrolix/gists{/gist_id}","starred_url":"https://api.github.com/users/anacrolix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anacrolix/subscriptions","organizations_url":"https://api.github.com/users/anacrolix/orgs","repos_url":"https://api.github.com/users/anacrolix/repos","events_url":"https://api.github.com/users/anacrolix/events{/privacy}","received_events_url":"https://api.github.com/users/anacrolix/received_events","type":"User","site_admin":false},"repo":{"id":28986292,"name":"torrent","full_name":"anacrolix/torrent","owner":{"login":"anacrolix","id":988750,"avatar_url":"https://avatars.githubusercontent.com/u/988750?v=3","gravatar_id":"","url":"https://api.github.com/users/anacrolix","html_url":"https://github.com/anacrolix","followers_url":"https://api.github.com/users/anacrolix/followers","following_url":"https://api.github.com/users/anacrolix/following{/other_user}","gists_url":"https://api.github.com/users/anacrolix/gists{/gist_id}","starred_url":"https://api.github.com/users/anacrolix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anacrolix/subscriptions","organizations_url":"https://api.github.com/users/anacrolix/orgs","repos_url":"https://api.github.com/users/anacrolix/repos","events_url":"https://api.github.com/users/anacrolix/events{/privacy}","received_events_url":"https://api.github.com/users/anacrolix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anacrolix/torrent","description":"Full-featured BitTorrent client package and utilities","fork":false,"url":"https://api.github.com/repos/anacrolix/torrent","forks_url":"https://api.github.com/repos/anacrolix/torrent/forks","keys_url":"https://api.github.com/repos/anacrolix/torrent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anacrolix/torrent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anacrolix/torrent/teams","hooks_url":"https://api.github.com/repos/anacrolix/torrent/hooks","issue_events_url":"https://api.github.com/repos/anacrolix/torrent/issues/events{/number}","events_url":"https://api.github.com/repos/anacrolix/torrent/events","assignees_url":"https://api.github.com/repos/anacrolix/torrent/assignees{/user}","branches_url":"https://api.github.com/repos/anacrolix/torrent/branches{/branch}","tags_url":"https://api.github.com/repos/anacrolix/torrent/tags","blobs_url":"https://api.github.com/repos/anacrolix/torrent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anacrolix/torrent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anacrolix/torrent/git/refs{/sha}","trees_url":"https://api.github.com/repos/anacrolix/torrent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anacrolix/torrent/statuses/{sha}","languages_url":"https://api.github.com/repos/anacrolix/torrent/languages","stargazers_url":"https://api.github.com/repos/anacrolix/torrent/stargazers","contributors_url":"https://api.github.com/repos/anacrolix/torrent/contributors","subscribers_url":"https://api.github.com/repos/anacrolix/torrent/subscribers","subscription_url":"https://api.github.com/repos/anacrolix/torrent/subscription","commits_url":"https://api.github.com/repos/anacrolix/torrent/commits{/sha}","git_commits_url":"https://api.github.com/repos/anacrolix/torrent/git/commits{/sha}","comments_url":"https://api.github.com/repos/anacrolix/torrent/comments{/number}","issue_comment_url":"https://api.github.com/repos/anacrolix/torrent/issues/comments{/number}","contents_url":"https://api.github.com/repos/anacrolix/torrent/contents/{+path}","compare_url":"https://api.github.com/repos/anacrolix/torrent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anacrolix/torrent/merges","archive_url":"https://api.github.com/repos/anacrolix/torrent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anacrolix/torrent/downloads","issues_url":"https://api.github.com/repos/anacrolix/torrent/issues{/number}","pulls_url":"https://api.github.com/repos/anacrolix/torrent/pulls{/number}","milestones_url":"https://api.github.com/repos/anacrolix/torrent/milestones{/number}","notifications_url":"https://api.github.com/repos/anacrolix/torrent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anacrolix/torrent/labels{/name}","releases_url":"https://api.github.com/repos/anacrolix/torrent/releases{/id}","deployments_url":"https://api.github.com/repos/anacrolix/torrent/deployments","created_at":"2015-01-08T21:10:42Z","updated_at":"2016-07-04T18:30:14Z","pushed_at":"2016-07-04T18:06:24Z","git_url":"git://github.com/anacrolix/torrent.git","ssh_url":"git@github.com:anacrolix/torrent.git","clone_url":"https://github.com/anacrolix/torrent.git","svn_url":"https://github.com/anacrolix/torrent","homepage":"","size":72448,"stargazers_count":1193,"watchers_count":1193,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":6,"forks":76,"open_issues":6,"watchers":1193,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anacrolix/torrent/pulls/90"},"html":{"href":"https://github.com/anacrolix/torrent/pull/90"},"issue":{"href":"https://api.github.com/repos/anacrolix/torrent/issues/90"},"comments":{"href":"https://api.github.com/repos/anacrolix/torrent/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/anacrolix/torrent/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/anacrolix/torrent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anacrolix/torrent/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/anacrolix/torrent/statuses/9704577372a47e06a5ee087f9188e189df3b4ab4"}}}}
{"actor":{"display_login":"anacrolix"}}