{"action":"created","comment":{"url":"https://api.github.com/repos/grpc/grpc-go/pulls/comments/40473250","id":40473250,"diff_hunk":"@@ -0,0 +1,45 @@\n+package grpc\n+\n+// Picker picks a Conn for RPC requests.\n+// This is EXPERIMENTAL and Please do not implement your own Picker for now.\n+type Picker interface {\n+\t// Pick returns the Conn to use for the upcoming RPC. It may return different\n+\t// Conn's up to the implementation.\n+\tPick() (*Conn, error)\n+\t// Peek returns the Conn use use for the next upcoming RPC. It returns the same\n+\t// Conn until next time Pick gets invoked.\n+\tPeek() *Conn","path":"picker.go","position":null,"original_position":11,"commit_id":"2899844430ddc3ae3c244fead67c0472f04d03ac","original_commit_id":"1d1e4bf24de7c1322949c13faa56e05c4c1071d8","user":{"login":"iamqizhao","id":10121772,"avatar_url":"https://avatars.githubusercontent.com/u/10121772?v=3","gravatar_id":"","url":"https://api.github.com/users/iamqizhao","html_url":"https://github.com/iamqizhao","followers_url":"https://api.github.com/users/iamqizhao/followers","following_url":"https://api.github.com/users/iamqizhao/following{/other_user}","gists_url":"https://api.github.com/users/iamqizhao/gists{/gist_id}","starred_url":"https://api.github.com/users/iamqizhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamqizhao/subscriptions","organizations_url":"https://api.github.com/users/iamqizhao/orgs","repos_url":"https://api.github.com/users/iamqizhao/repos","events_url":"https://api.github.com/users/iamqizhao/events{/privacy}","received_events_url":"https://api.github.com/users/iamqizhao/received_events","type":"User","site_admin":false},"body":"rewrite the API according to some offline discussion in the team. This API may not be sufficient to support all connection state requirements (e.g., one with many sub-connections). ","created_at":"2015-09-25T20:40:41Z","updated_at":"2015-09-25T20:40:41Z","html_url":"https://github.com/grpc/grpc-go/pull/360#discussion_r40473250","pull_request_url":"https://api.github.com/repos/grpc/grpc-go/pulls/360","_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc-go/pulls/comments/40473250"},"html":{"href":"https://github.com/grpc/grpc-go/pull/360#discussion_r40473250"},"pull_request":{"href":"https://api.github.com/repos/grpc/grpc-go/pulls/360"}}},"pull_request":{"url":"https://api.github.com/repos/grpc/grpc-go/pulls/360","id":45926994,"html_url":"https://github.com/grpc/grpc-go/pull/360","diff_url":"https://github.com/grpc/grpc-go/pull/360.diff","patch_url":"https://github.com/grpc/grpc-go/pull/360.patch","issue_url":"https://api.github.com/repos/grpc/grpc-go/issues/360","number":360,"state":"open","locked":false,"title":"Introduce Picker API","user":{"login":"iamqizhao","id":10121772,"avatar_url":"https://avatars.githubusercontent.com/u/10121772?v=3","gravatar_id":"","url":"https://api.github.com/users/iamqizhao","html_url":"https://github.com/iamqizhao","followers_url":"https://api.github.com/users/iamqizhao/followers","following_url":"https://api.github.com/users/iamqizhao/following{/other_user}","gists_url":"https://api.github.com/users/iamqizhao/gists{/gist_id}","starred_url":"https://api.github.com/users/iamqizhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamqizhao/subscriptions","organizations_url":"https://api.github.com/users/iamqizhao/orgs","repos_url":"https://api.github.com/users/iamqizhao/repos","events_url":"https://api.github.com/users/iamqizhao/events{/privacy}","received_events_url":"https://api.github.com/users/iamqizhao/received_events","type":"User","site_admin":false},"body":"Prepare for custom naming and load balancing.","created_at":"2015-09-24T17:43:41Z","updated_at":"2015-09-25T20:40:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f68fc1b595980b6a7f8bffc9b22b68818e5f683","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grpc/grpc-go/pulls/360/commits","review_comments_url":"https://api.github.com/repos/grpc/grpc-go/pulls/360/comments","review_comment_url":"https://api.github.com/repos/grpc/grpc-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grpc/grpc-go/issues/360/comments","statuses_url":"https://api.github.com/repos/grpc/grpc-go/statuses/2899844430ddc3ae3c244fead67c0472f04d03ac","head":{"label":"iamqizhao:master","ref":"master","sha":"2899844430ddc3ae3c244fead67c0472f04d03ac","user":{"login":"iamqizhao","id":10121772,"avatar_url":"https://avatars.githubusercontent.com/u/10121772?v=3","gravatar_id":"","url":"https://api.github.com/users/iamqizhao","html_url":"https://github.com/iamqizhao","followers_url":"https://api.github.com/users/iamqizhao/followers","following_url":"https://api.github.com/users/iamqizhao/following{/other_user}","gists_url":"https://api.github.com/users/iamqizhao/gists{/gist_id}","starred_url":"https://api.github.com/users/iamqizhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamqizhao/subscriptions","organizations_url":"https://api.github.com/users/iamqizhao/orgs","repos_url":"https://api.github.com/users/iamqizhao/repos","events_url":"https://api.github.com/users/iamqizhao/events{/privacy}","received_events_url":"https://api.github.com/users/iamqizhao/received_events","type":"User","site_admin":false},"repo":{"id":31390988,"name":"grpc-go","full_name":"iamqizhao/grpc-go","owner":{"login":"iamqizhao","id":10121772,"avatar_url":"https://avatars.githubusercontent.com/u/10121772?v=3","gravatar_id":"","url":"https://api.github.com/users/iamqizhao","html_url":"https://github.com/iamqizhao","followers_url":"https://api.github.com/users/iamqizhao/followers","following_url":"https://api.github.com/users/iamqizhao/following{/other_user}","gists_url":"https://api.github.com/users/iamqizhao/gists{/gist_id}","starred_url":"https://api.github.com/users/iamqizhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamqizhao/subscriptions","organizations_url":"https://api.github.com/users/iamqizhao/orgs","repos_url":"https://api.github.com/users/iamqizhao/repos","events_url":"https://api.github.com/users/iamqizhao/events{/privacy}","received_events_url":"https://api.github.com/users/iamqizhao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iamqizhao/grpc-go","description":"The Go language implementation of gRPC. HTTP/2 based RPC","fork":true,"url":"https://api.github.com/repos/iamqizhao/grpc-go","forks_url":"https://api.github.com/repos/iamqizhao/grpc-go/forks","keys_url":"https://api.github.com/repos/iamqizhao/grpc-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iamqizhao/grpc-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iamqizhao/grpc-go/teams","hooks_url":"https://api.github.com/repos/iamqizhao/grpc-go/hooks","issue_events_url":"https://api.github.com/repos/iamqizhao/grpc-go/issues/events{/number}","events_url":"https://api.github.com/repos/iamqizhao/grpc-go/events","assignees_url":"https://api.github.com/repos/iamqizhao/grpc-go/assignees{/user}","branches_url":"https://api.github.com/repos/iamqizhao/grpc-go/branches{/branch}","tags_url":"https://api.github.com/repos/iamqizhao/grpc-go/tags","blobs_url":"https://api.github.com/repos/iamqizhao/grpc-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iamqizhao/grpc-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iamqizhao/grpc-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/iamqizhao/grpc-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iamqizhao/grpc-go/statuses/{sha}","languages_url":"https://api.github.com/repos/iamqizhao/grpc-go/languages","stargazers_url":"https://api.github.com/repos/iamqizhao/grpc-go/stargazers","contributors_url":"https://api.github.com/repos/iamqizhao/grpc-go/contributors","subscribers_url":"https://api.github.com/repos/iamqizhao/grpc-go/subscribers","subscription_url":"https://api.github.com/repos/iamqizhao/grpc-go/subscription","commits_url":"https://api.github.com/repos/iamqizhao/grpc-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/iamqizhao/grpc-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/iamqizhao/grpc-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/iamqizhao/grpc-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/iamqizhao/grpc-go/contents/{+path}","compare_url":"https://api.github.com/repos/iamqizhao/grpc-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iamqizhao/grpc-go/merges","archive_url":"https://api.github.com/repos/iamqizhao/grpc-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iamqizhao/grpc-go/downloads","issues_url":"https://api.github.com/repos/iamqizhao/grpc-go/issues{/number}","pulls_url":"https://api.github.com/repos/iamqizhao/grpc-go/pulls{/number}","milestones_url":"https://api.github.com/repos/iamqizhao/grpc-go/milestones{/number}","notifications_url":"https://api.github.com/repos/iamqizhao/grpc-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iamqizhao/grpc-go/labels{/name}","releases_url":"https://api.github.com/repos/iamqizhao/grpc-go/releases{/id}","created_at":"2015-02-26T21:58:15Z","updated_at":"2015-05-08T19:25:29Z","pushed_at":"2015-09-25T20:38:38Z","git_url":"git://github.com/iamqizhao/grpc-go.git","ssh_url":"git@github.com:iamqizhao/grpc-go.git","clone_url":"https://github.com/iamqizhao/grpc-go.git","svn_url":"https://github.com/iamqizhao/grpc-go","homepage":"","size":1506,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"grpc:master","ref":"master","sha":"9b7fa285bf1e16d91aa679db6f3ba14cc71d00c3","user":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"repo":{"id":27729907,"name":"grpc-go","full_name":"grpc/grpc-go","owner":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grpc/grpc-go","description":"The Go language implementation of gRPC. HTTP/2 based RPC","fork":false,"url":"https://api.github.com/repos/grpc/grpc-go","forks_url":"https://api.github.com/repos/grpc/grpc-go/forks","keys_url":"https://api.github.com/repos/grpc/grpc-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grpc/grpc-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grpc/grpc-go/teams","hooks_url":"https://api.github.com/repos/grpc/grpc-go/hooks","issue_events_url":"https://api.github.com/repos/grpc/grpc-go/issues/events{/number}","events_url":"https://api.github.com/repos/grpc/grpc-go/events","assignees_url":"https://api.github.com/repos/grpc/grpc-go/assignees{/user}","branches_url":"https://api.github.com/repos/grpc/grpc-go/branches{/branch}","tags_url":"https://api.github.com/repos/grpc/grpc-go/tags","blobs_url":"https://api.github.com/repos/grpc/grpc-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grpc/grpc-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grpc/grpc-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/grpc/grpc-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grpc/grpc-go/statuses/{sha}","languages_url":"https://api.github.com/repos/grpc/grpc-go/languages","stargazers_url":"https://api.github.com/repos/grpc/grpc-go/stargazers","contributors_url":"https://api.github.com/repos/grpc/grpc-go/contributors","subscribers_url":"https://api.github.com/repos/grpc/grpc-go/subscribers","subscription_url":"https://api.github.com/repos/grpc/grpc-go/subscription","commits_url":"https://api.github.com/repos/grpc/grpc-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/grpc/grpc-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/grpc/grpc-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/grpc/grpc-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/grpc/grpc-go/contents/{+path}","compare_url":"https://api.github.com/repos/grpc/grpc-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grpc/grpc-go/merges","archive_url":"https://api.github.com/repos/grpc/grpc-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grpc/grpc-go/downloads","issues_url":"https://api.github.com/repos/grpc/grpc-go/issues{/number}","pulls_url":"https://api.github.com/repos/grpc/grpc-go/pulls{/number}","milestones_url":"https://api.github.com/repos/grpc/grpc-go/milestones{/number}","notifications_url":"https://api.github.com/repos/grpc/grpc-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grpc/grpc-go/labels{/name}","releases_url":"https://api.github.com/repos/grpc/grpc-go/releases{/id}","created_at":"2014-12-08T18:59:34Z","updated_at":"2015-09-25T11:19:10Z","pushed_at":"2015-09-25T20:38:38Z","git_url":"git://github.com/grpc/grpc-go.git","ssh_url":"git@github.com:grpc/grpc-go.git","clone_url":"https://github.com/grpc/grpc-go.git","svn_url":"https://github.com/grpc/grpc-go","homepage":"","size":2724,"stargazers_count":1099,"watchers_count":1099,"language":"Go","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":26,"forks":128,"open_issues":26,"watchers":1099,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc-go/pulls/360"},"html":{"href":"https://github.com/grpc/grpc-go/pull/360"},"issue":{"href":"https://api.github.com/repos/grpc/grpc-go/issues/360"},"comments":{"href":"https://api.github.com/repos/grpc/grpc-go/issues/360/comments"},"review_comments":{"href":"https://api.github.com/repos/grpc/grpc-go/pulls/360/comments"},"review_comment":{"href":"https://api.github.com/repos/grpc/grpc-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grpc/grpc-go/pulls/360/commits"},"statuses":{"href":"https://api.github.com/repos/grpc/grpc-go/statuses/2899844430ddc3ae3c244fead67c0472f04d03ac"}}}}