{"action":"opened","number":66,"pull_request":{"url":"https://api.github.com/repos/awa/go-iap/pulls/66","id":188914342,"html_url":"https://github.com/awa/go-iap/pull/66","diff_url":"https://github.com/awa/go-iap/pull/66.diff","patch_url":"https://github.com/awa/go-iap/pull/66.patch","issue_url":"https://api.github.com/repos/awa/go-iap/issues/66","number":66,"state":"open","locked":false,"title":"Added client timeout because http.DefaultClient doesn't have timeout","user":{"login":"jun06t","id":4252009,"avatar_url":"https://avatars3.githubusercontent.com/u/4252009?v=4","gravatar_id":"","url":"https://api.github.com/users/jun06t","html_url":"https://github.com/jun06t","followers_url":"https://api.github.com/users/jun06t/followers","following_url":"https://api.github.com/users/jun06t/following{/other_user}","gists_url":"https://api.github.com/users/jun06t/gists{/gist_id}","starred_url":"https://api.github.com/users/jun06t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jun06t/subscriptions","organizations_url":"https://api.github.com/users/jun06t/orgs","repos_url":"https://api.github.com/users/jun06t/repos","events_url":"https://api.github.com/users/jun06t/events{/privacy}","received_events_url":"https://api.github.com/users/jun06t/received_events","type":"User","site_admin":false},"body":"The http document says \"A Timeout of zero means no timeout\".\r\n\r\n>         // Timeout specifies a time limit for requests made by this\r\n>         // Client. The timeout includes connection time, any\r\n>         // redirects, and reading the response body. The timer remains\r\n>         // running after Get, Head, Post, or Do return and will\r\n>         // interrupt reading of the Response.Body.\r\n>         //\r\n>         // A Timeout of zero means no timeout.\r\n\r\nhttps://golang.org/pkg/net/http/#Clientn\r\n\r\nAnd DefaultClient is empty struct of Client.\r\n```\r\nvar DefaultClient = &Client{}\r\n```\r\nSo DefaultClient doesn't have timeout. It may stress the system heavily.","created_at":"2018-05-18T03:40:18Z","updated_at":"2018-05-18T03:40:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awa/go-iap/pulls/66/commits","review_comments_url":"https://api.github.com/repos/awa/go-iap/pulls/66/comments","review_comment_url":"https://api.github.com/repos/awa/go-iap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awa/go-iap/issues/66/comments","statuses_url":"https://api.github.com/repos/awa/go-iap/statuses/8e67f122c0c466c37ae9ee843347975d33d710de","head":{"label":"jun06t:client","ref":"client","sha":"8e67f122c0c466c37ae9ee843347975d33d710de","user":{"login":"jun06t","id":4252009,"avatar_url":"https://avatars3.githubusercontent.com/u/4252009?v=4","gravatar_id":"","url":"https://api.github.com/users/jun06t","html_url":"https://github.com/jun06t","followers_url":"https://api.github.com/users/jun06t/followers","following_url":"https://api.github.com/users/jun06t/following{/other_user}","gists_url":"https://api.github.com/users/jun06t/gists{/gist_id}","starred_url":"https://api.github.com/users/jun06t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jun06t/subscriptions","organizations_url":"https://api.github.com/users/jun06t/orgs","repos_url":"https://api.github.com/users/jun06t/repos","events_url":"https://api.github.com/users/jun06t/events{/privacy}","received_events_url":"https://api.github.com/users/jun06t/received_events","type":"User","site_admin":false},"repo":{"id":27535010,"name":"go-iap","full_name":"jun06t/go-iap","owner":{"login":"jun06t","id":4252009,"avatar_url":"https://avatars3.githubusercontent.com/u/4252009?v=4","gravatar_id":"","url":"https://api.github.com/users/jun06t","html_url":"https://github.com/jun06t","followers_url":"https://api.github.com/users/jun06t/followers","following_url":"https://api.github.com/users/jun06t/following{/other_user}","gists_url":"https://api.github.com/users/jun06t/gists{/gist_id}","starred_url":"https://api.github.com/users/jun06t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jun06t/subscriptions","organizations_url":"https://api.github.com/users/jun06t/orgs","repos_url":"https://api.github.com/users/jun06t/repos","events_url":"https://api.github.com/users/jun06t/events{/privacy}","received_events_url":"https://api.github.com/users/jun06t/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jun06t/go-iap","description":"go-iap verifies the purchase receipt via AppStore or GooglePlayStore","fork":true,"url":"https://api.github.com/repos/jun06t/go-iap","forks_url":"https://api.github.com/repos/jun06t/go-iap/forks","keys_url":"https://api.github.com/repos/jun06t/go-iap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jun06t/go-iap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jun06t/go-iap/teams","hooks_url":"https://api.github.com/repos/jun06t/go-iap/hooks","issue_events_url":"https://api.github.com/repos/jun06t/go-iap/issues/events{/number}","events_url":"https://api.github.com/repos/jun06t/go-iap/events","assignees_url":"https://api.github.com/repos/jun06t/go-iap/assignees{/user}","branches_url":"https://api.github.com/repos/jun06t/go-iap/branches{/branch}","tags_url":"https://api.github.com/repos/jun06t/go-iap/tags","blobs_url":"https://api.github.com/repos/jun06t/go-iap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jun06t/go-iap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jun06t/go-iap/git/refs{/sha}","trees_url":"https://api.github.com/repos/jun06t/go-iap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jun06t/go-iap/statuses/{sha}","languages_url":"https://api.github.com/repos/jun06t/go-iap/languages","stargazers_url":"https://api.github.com/repos/jun06t/go-iap/stargazers","contributors_url":"https://api.github.com/repos/jun06t/go-iap/contributors","subscribers_url":"https://api.github.com/repos/jun06t/go-iap/subscribers","subscription_url":"https://api.github.com/repos/jun06t/go-iap/subscription","commits_url":"https://api.github.com/repos/jun06t/go-iap/commits{/sha}","git_commits_url":"https://api.github.com/repos/jun06t/go-iap/git/commits{/sha}","comments_url":"https://api.github.com/repos/jun06t/go-iap/comments{/number}","issue_comment_url":"https://api.github.com/repos/jun06t/go-iap/issues/comments{/number}","contents_url":"https://api.github.com/repos/jun06t/go-iap/contents/{+path}","compare_url":"https://api.github.com/repos/jun06t/go-iap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jun06t/go-iap/merges","archive_url":"https://api.github.com/repos/jun06t/go-iap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jun06t/go-iap/downloads","issues_url":"https://api.github.com/repos/jun06t/go-iap/issues{/number}","pulls_url":"https://api.github.com/repos/jun06t/go-iap/pulls{/number}","milestones_url":"https://api.github.com/repos/jun06t/go-iap/milestones{/number}","notifications_url":"https://api.github.com/repos/jun06t/go-iap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jun06t/go-iap/labels{/name}","releases_url":"https://api.github.com/repos/jun06t/go-iap/releases{/id}","deployments_url":"https://api.github.com/repos/jun06t/go-iap/deployments","created_at":"2014-12-04T10:19:02Z","updated_at":"2018-05-18T03:32:13Z","pushed_at":"2018-05-18T03:32:12Z","git_url":"git://github.com/jun06t/go-iap.git","ssh_url":"git@github.com:jun06t/go-iap.git","clone_url":"https://github.com/jun06t/go-iap.git","svn_url":"https://github.com/jun06t/go-iap","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"awa:master","ref":"master","sha":"cdb4cd7c54959ae7a96533e11b88b775e4a5710b","user":{"login":"awa","id":8541323,"avatar_url":"https://avatars2.githubusercontent.com/u/8541323?v=4","gravatar_id":"","url":"https://api.github.com/users/awa","html_url":"https://github.com/awa","followers_url":"https://api.github.com/users/awa/followers","following_url":"https://api.github.com/users/awa/following{/other_user}","gists_url":"https://api.github.com/users/awa/gists{/gist_id}","starred_url":"https://api.github.com/users/awa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awa/subscriptions","organizations_url":"https://api.github.com/users/awa/orgs","repos_url":"https://api.github.com/users/awa/repos","events_url":"https://api.github.com/users/awa/events{/privacy}","received_events_url":"https://api.github.com/users/awa/received_events","type":"Organization","site_admin":false},"repo":{"id":27529089,"name":"go-iap","full_name":"awa/go-iap","owner":{"login":"awa","id":8541323,"avatar_url":"https://avatars2.githubusercontent.com/u/8541323?v=4","gravatar_id":"","url":"https://api.github.com/users/awa","html_url":"https://github.com/awa","followers_url":"https://api.github.com/users/awa/followers","following_url":"https://api.github.com/users/awa/following{/other_user}","gists_url":"https://api.github.com/users/awa/gists{/gist_id}","starred_url":"https://api.github.com/users/awa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awa/subscriptions","organizations_url":"https://api.github.com/users/awa/orgs","repos_url":"https://api.github.com/users/awa/repos","events_url":"https://api.github.com/users/awa/events{/privacy}","received_events_url":"https://api.github.com/users/awa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/awa/go-iap","description":"go-iap verifies the purchase receipt via AppStore or GooglePlayStore","fork":false,"url":"https://api.github.com/repos/awa/go-iap","forks_url":"https://api.github.com/repos/awa/go-iap/forks","keys_url":"https://api.github.com/repos/awa/go-iap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awa/go-iap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awa/go-iap/teams","hooks_url":"https://api.github.com/repos/awa/go-iap/hooks","issue_events_url":"https://api.github.com/repos/awa/go-iap/issues/events{/number}","events_url":"https://api.github.com/repos/awa/go-iap/events","assignees_url":"https://api.github.com/repos/awa/go-iap/assignees{/user}","branches_url":"https://api.github.com/repos/awa/go-iap/branches{/branch}","tags_url":"https://api.github.com/repos/awa/go-iap/tags","blobs_url":"https://api.github.com/repos/awa/go-iap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awa/go-iap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awa/go-iap/git/refs{/sha}","trees_url":"https://api.github.com/repos/awa/go-iap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awa/go-iap/statuses/{sha}","languages_url":"https://api.github.com/repos/awa/go-iap/languages","stargazers_url":"https://api.github.com/repos/awa/go-iap/stargazers","contributors_url":"https://api.github.com/repos/awa/go-iap/contributors","subscribers_url":"https://api.github.com/repos/awa/go-iap/subscribers","subscription_url":"https://api.github.com/repos/awa/go-iap/subscription","commits_url":"https://api.github.com/repos/awa/go-iap/commits{/sha}","git_commits_url":"https://api.github.com/repos/awa/go-iap/git/commits{/sha}","comments_url":"https://api.github.com/repos/awa/go-iap/comments{/number}","issue_comment_url":"https://api.github.com/repos/awa/go-iap/issues/comments{/number}","contents_url":"https://api.github.com/repos/awa/go-iap/contents/{+path}","compare_url":"https://api.github.com/repos/awa/go-iap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awa/go-iap/merges","archive_url":"https://api.github.com/repos/awa/go-iap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awa/go-iap/downloads","issues_url":"https://api.github.com/repos/awa/go-iap/issues{/number}","pulls_url":"https://api.github.com/repos/awa/go-iap/pulls{/number}","milestones_url":"https://api.github.com/repos/awa/go-iap/milestones{/number}","notifications_url":"https://api.github.com/repos/awa/go-iap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awa/go-iap/labels{/name}","releases_url":"https://api.github.com/repos/awa/go-iap/releases{/id}","deployments_url":"https://api.github.com/repos/awa/go-iap/deployments","created_at":"2014-12-04T07:40:11Z","updated_at":"2018-05-18T03:30:50Z","pushed_at":"2018-05-18T03:30:48Z","git_url":"git://github.com/awa/go-iap.git","ssh_url":"git@github.com:awa/go-iap.git","clone_url":"https://github.com/awa/go-iap.git","svn_url":"https://github.com/awa/go-iap","homepage":null,"size":89,"stargazers_count":161,"watchers_count":161,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":60,"open_issues":3,"watchers":161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awa/go-iap/pulls/66"},"html":{"href":"https://github.com/awa/go-iap/pull/66"},"issue":{"href":"https://api.github.com/repos/awa/go-iap/issues/66"},"comments":{"href":"https://api.github.com/repos/awa/go-iap/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/awa/go-iap/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/awa/go-iap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awa/go-iap/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/awa/go-iap/statuses/8e67f122c0c466c37ae9ee843347975d33d710de"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":34,"deletions":21,"changed_files":6}}
{"actor":{"display_login":"jun06t"}}