{"action":"opened","number":111,"pull_request":{"url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls/111","id":51166219,"html_url":"https://github.com/shadowsocks/shadowsocks-go/pull/111","diff_url":"https://github.com/shadowsocks/shadowsocks-go/pull/111.diff","patch_url":"https://github.com/shadowsocks/shadowsocks-go/pull/111.patch","issue_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/issues/111","number":111,"state":"open","locked":false,"title":"shadowsocks-server 支持通过 all_proxy 环境变量来设置socks 代理","user":{"login":"cnhongwei","id":2978404,"avatar_url":"https://avatars.githubusercontent.com/u/2978404?v=3","gravatar_id":"","url":"https://api.github.com/users/cnhongwei","html_url":"https://github.com/cnhongwei","followers_url":"https://api.github.com/users/cnhongwei/followers","following_url":"https://api.github.com/users/cnhongwei/following{/other_user}","gists_url":"https://api.github.com/users/cnhongwei/gists{/gist_id}","starred_url":"https://api.github.com/users/cnhongwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnhongwei/subscriptions","organizations_url":"https://api.github.com/users/cnhongwei/orgs","repos_url":"https://api.github.com/users/cnhongwei/repos","events_url":"https://api.github.com/users/cnhongwei/events{/privacy}","received_events_url":"https://api.github.com/users/cnhongwei/received_events","type":"User","site_admin":false},"body":"如果在国内建立ss服务器来转发国外ss时，可以通过在国内服务器上的shadowsocks-server使用shadowsocks-local所建立的socks5 proxy，来完成中转。\r\n这个pull request就是通过设置shadowsocks-server启动时的all_proxy环境变量，来实现请求。\r\n如：all_proxy=socks5://127.0.0.1:1080 shadowsocks-server ...","created_at":"2015-11-19T00:58:46Z","updated_at":"2015-11-19T00:58:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db1edfc8979e3f785087d2d660337d88602e17b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls/111/commits","review_comments_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls/111/comments","review_comment_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/issues/111/comments","statuses_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/statuses/4cd4964551ce4ffb6641631e037674993cf441ba","head":{"label":"cnhongwei:master","ref":"master","sha":"4cd4964551ce4ffb6641631e037674993cf441ba","user":{"login":"cnhongwei","id":2978404,"avatar_url":"https://avatars.githubusercontent.com/u/2978404?v=3","gravatar_id":"","url":"https://api.github.com/users/cnhongwei","html_url":"https://github.com/cnhongwei","followers_url":"https://api.github.com/users/cnhongwei/followers","following_url":"https://api.github.com/users/cnhongwei/following{/other_user}","gists_url":"https://api.github.com/users/cnhongwei/gists{/gist_id}","starred_url":"https://api.github.com/users/cnhongwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnhongwei/subscriptions","organizations_url":"https://api.github.com/users/cnhongwei/orgs","repos_url":"https://api.github.com/users/cnhongwei/repos","events_url":"https://api.github.com/users/cnhongwei/events{/privacy}","received_events_url":"https://api.github.com/users/cnhongwei/received_events","type":"User","site_admin":false},"repo":{"id":46457276,"name":"shadowsocks-go","full_name":"cnhongwei/shadowsocks-go","owner":{"login":"cnhongwei","id":2978404,"avatar_url":"https://avatars.githubusercontent.com/u/2978404?v=3","gravatar_id":"","url":"https://api.github.com/users/cnhongwei","html_url":"https://github.com/cnhongwei","followers_url":"https://api.github.com/users/cnhongwei/followers","following_url":"https://api.github.com/users/cnhongwei/following{/other_user}","gists_url":"https://api.github.com/users/cnhongwei/gists{/gist_id}","starred_url":"https://api.github.com/users/cnhongwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnhongwei/subscriptions","organizations_url":"https://api.github.com/users/cnhongwei/orgs","repos_url":"https://api.github.com/users/cnhongwei/repos","events_url":"https://api.github.com/users/cnhongwei/events{/privacy}","received_events_url":"https://api.github.com/users/cnhongwei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cnhongwei/shadowsocks-go","description":"go port of shadowsocks","fork":true,"url":"https://api.github.com/repos/cnhongwei/shadowsocks-go","forks_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/forks","keys_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/teams","hooks_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/hooks","issue_events_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/issues/events{/number}","events_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/events","assignees_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/assignees{/user}","branches_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/branches{/branch}","tags_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/tags","blobs_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/statuses/{sha}","languages_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/languages","stargazers_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/stargazers","contributors_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/contributors","subscribers_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/subscribers","subscription_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/subscription","commits_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/contents/{+path}","compare_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/merges","archive_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/downloads","issues_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/issues{/number}","pulls_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/pulls{/number}","milestones_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/milestones{/number}","notifications_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/labels{/name}","releases_url":"https://api.github.com/repos/cnhongwei/shadowsocks-go/releases{/id}","created_at":"2015-11-19T00:46:49Z","updated_at":"2015-11-19T00:46:50Z","pushed_at":"2015-11-19T00:53:44Z","git_url":"git://github.com/cnhongwei/shadowsocks-go.git","ssh_url":"git@github.com:cnhongwei/shadowsocks-go.git","clone_url":"https://github.com/cnhongwei/shadowsocks-go.git","svn_url":"https://github.com/cnhongwei/shadowsocks-go","homepage":"http://shadowsocks.github.io/shadowsocks-go","size":312,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"shadowsocks:master","ref":"master","sha":"2b4d9d7c839f2939ec6a96cc423dea44319e848b","user":{"login":"shadowsocks","id":3006190,"avatar_url":"https://avatars.githubusercontent.com/u/3006190?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowsocks","html_url":"https://github.com/shadowsocks","followers_url":"https://api.github.com/users/shadowsocks/followers","following_url":"https://api.github.com/users/shadowsocks/following{/other_user}","gists_url":"https://api.github.com/users/shadowsocks/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowsocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowsocks/subscriptions","organizations_url":"https://api.github.com/users/shadowsocks/orgs","repos_url":"https://api.github.com/users/shadowsocks/repos","events_url":"https://api.github.com/users/shadowsocks/events{/privacy}","received_events_url":"https://api.github.com/users/shadowsocks/received_events","type":"Organization","site_admin":false},"repo":{"id":6486840,"name":"shadowsocks-go","full_name":"shadowsocks/shadowsocks-go","owner":{"login":"shadowsocks","id":3006190,"avatar_url":"https://avatars.githubusercontent.com/u/3006190?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowsocks","html_url":"https://github.com/shadowsocks","followers_url":"https://api.github.com/users/shadowsocks/followers","following_url":"https://api.github.com/users/shadowsocks/following{/other_user}","gists_url":"https://api.github.com/users/shadowsocks/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowsocks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowsocks/subscriptions","organizations_url":"https://api.github.com/users/shadowsocks/orgs","repos_url":"https://api.github.com/users/shadowsocks/repos","events_url":"https://api.github.com/users/shadowsocks/events{/privacy}","received_events_url":"https://api.github.com/users/shadowsocks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shadowsocks/shadowsocks-go","description":"go port of shadowsocks","fork":false,"url":"https://api.github.com/repos/shadowsocks/shadowsocks-go","forks_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/forks","keys_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/teams","hooks_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/hooks","issue_events_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/issues/events{/number}","events_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/events","assignees_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/assignees{/user}","branches_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/branches{/branch}","tags_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/tags","blobs_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/statuses/{sha}","languages_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/languages","stargazers_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/stargazers","contributors_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/contributors","subscribers_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/subscribers","subscription_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/subscription","commits_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/contents/{+path}","compare_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/merges","archive_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/downloads","issues_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/issues{/number}","pulls_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls{/number}","milestones_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/milestones{/number}","notifications_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/labels{/name}","releases_url":"https://api.github.com/repos/shadowsocks/shadowsocks-go/releases{/id}","created_at":"2012-11-01T08:43:38Z","updated_at":"2015-11-17T06:38:16Z","pushed_at":"2015-11-19T00:58:46Z","git_url":"git://github.com/shadowsocks/shadowsocks-go.git","ssh_url":"git@github.com:shadowsocks/shadowsocks-go.git","clone_url":"https://github.com/shadowsocks/shadowsocks-go.git","svn_url":"https://github.com/shadowsocks/shadowsocks-go","homepage":"http://shadowsocks.github.io/shadowsocks-go","size":1518,"stargazers_count":1125,"watchers_count":1125,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1255,"mirror_url":null,"open_issues_count":27,"forks":1255,"open_issues":27,"watchers":1125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls/111"},"html":{"href":"https://github.com/shadowsocks/shadowsocks-go/pull/111"},"issue":{"href":"https://api.github.com/repos/shadowsocks/shadowsocks-go/issues/111"},"comments":{"href":"https://api.github.com/repos/shadowsocks/shadowsocks-go/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shadowsocks/shadowsocks-go/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/shadowsocks/shadowsocks-go/statuses/4cd4964551ce4ffb6641631e037674993cf441ba"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}