{"action":"opened","number":265,"pull_request":{"url":"https://api.github.com/repos/miekg/dns/pulls/265","id":45791784,"html_url":"https://github.com/miekg/dns/pull/265","diff_url":"https://github.com/miekg/dns/pull/265.diff","patch_url":"https://github.com/miekg/dns/pull/265.patch","issue_url":"https://api.github.com/repos/miekg/dns/issues/265","number":265,"state":"open","locked":false,"title":"Allow supplying a Conn in Transfer struct","user":{"login":"TimSimmons","id":5033523,"avatar_url":"https://avatars.githubusercontent.com/u/5033523?v=3","gravatar_id":"","url":"https://api.github.com/users/TimSimmons","html_url":"https://github.com/TimSimmons","followers_url":"https://api.github.com/users/TimSimmons/followers","following_url":"https://api.github.com/users/TimSimmons/following{/other_user}","gists_url":"https://api.github.com/users/TimSimmons/gists{/gist_id}","starred_url":"https://api.github.com/users/TimSimmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimSimmons/subscriptions","organizations_url":"https://api.github.com/users/TimSimmons/orgs","repos_url":"https://api.github.com/users/TimSimmons/repos","events_url":"https://api.github.com/users/TimSimmons/events{/privacy}","received_events_url":"https://api.github.com/users/TimSimmons/received_events","type":"User","site_admin":false},"body":"- This allows a user to call `Dial` before they call `Transfer.In`,\r\nthus specifying the attributes of a [Dialer](https://golang.org/src/net/dial.go?s=5630:5708#L17)\r\nbefore their AXFR\r\n\r\nThis is what it looks like to use:\r\n```go\r\nd := net.Dialer{LocalAddr: transfer_source}\r\nc, _ := d.Dial(\"tcp\", *master)\r\ndnscon := &dns.Conn{Conn:c}\r\ntransfer = &dns.Transfer{Conn: dnscon}\r\nchannel, err := transfer.In(message, *master)\r\n```\r\ncloses #264","created_at":"2015-09-23T15:14:45Z","updated_at":"2015-09-23T15:14:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/miekg/dns/pulls/265/commits","review_comments_url":"https://api.github.com/repos/miekg/dns/pulls/265/comments","review_comment_url":"https://api.github.com/repos/miekg/dns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/miekg/dns/issues/265/comments","statuses_url":"https://api.github.com/repos/miekg/dns/statuses/d76340e1fcad3cbf2bc1cb4bf49f41036a84e0a5","head":{"label":"TimSimmons:transfer-src","ref":"transfer-src","sha":"d76340e1fcad3cbf2bc1cb4bf49f41036a84e0a5","user":{"login":"TimSimmons","id":5033523,"avatar_url":"https://avatars.githubusercontent.com/u/5033523?v=3","gravatar_id":"","url":"https://api.github.com/users/TimSimmons","html_url":"https://github.com/TimSimmons","followers_url":"https://api.github.com/users/TimSimmons/followers","following_url":"https://api.github.com/users/TimSimmons/following{/other_user}","gists_url":"https://api.github.com/users/TimSimmons/gists{/gist_id}","starred_url":"https://api.github.com/users/TimSimmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimSimmons/subscriptions","organizations_url":"https://api.github.com/users/TimSimmons/orgs","repos_url":"https://api.github.com/users/TimSimmons/repos","events_url":"https://api.github.com/users/TimSimmons/events{/privacy}","received_events_url":"https://api.github.com/users/TimSimmons/received_events","type":"User","site_admin":false},"repo":{"id":42942344,"name":"dns","full_name":"TimSimmons/dns","owner":{"login":"TimSimmons","id":5033523,"avatar_url":"https://avatars.githubusercontent.com/u/5033523?v=3","gravatar_id":"","url":"https://api.github.com/users/TimSimmons","html_url":"https://github.com/TimSimmons","followers_url":"https://api.github.com/users/TimSimmons/followers","following_url":"https://api.github.com/users/TimSimmons/following{/other_user}","gists_url":"https://api.github.com/users/TimSimmons/gists{/gist_id}","starred_url":"https://api.github.com/users/TimSimmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimSimmons/subscriptions","organizations_url":"https://api.github.com/users/TimSimmons/orgs","repos_url":"https://api.github.com/users/TimSimmons/repos","events_url":"https://api.github.com/users/TimSimmons/events{/privacy}","received_events_url":"https://api.github.com/users/TimSimmons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TimSimmons/dns","description":"DNS library in Go","fork":true,"url":"https://api.github.com/repos/TimSimmons/dns","forks_url":"https://api.github.com/repos/TimSimmons/dns/forks","keys_url":"https://api.github.com/repos/TimSimmons/dns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TimSimmons/dns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TimSimmons/dns/teams","hooks_url":"https://api.github.com/repos/TimSimmons/dns/hooks","issue_events_url":"https://api.github.com/repos/TimSimmons/dns/issues/events{/number}","events_url":"https://api.github.com/repos/TimSimmons/dns/events","assignees_url":"https://api.github.com/repos/TimSimmons/dns/assignees{/user}","branches_url":"https://api.github.com/repos/TimSimmons/dns/branches{/branch}","tags_url":"https://api.github.com/repos/TimSimmons/dns/tags","blobs_url":"https://api.github.com/repos/TimSimmons/dns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TimSimmons/dns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TimSimmons/dns/git/refs{/sha}","trees_url":"https://api.github.com/repos/TimSimmons/dns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TimSimmons/dns/statuses/{sha}","languages_url":"https://api.github.com/repos/TimSimmons/dns/languages","stargazers_url":"https://api.github.com/repos/TimSimmons/dns/stargazers","contributors_url":"https://api.github.com/repos/TimSimmons/dns/contributors","subscribers_url":"https://api.github.com/repos/TimSimmons/dns/subscribers","subscription_url":"https://api.github.com/repos/TimSimmons/dns/subscription","commits_url":"https://api.github.com/repos/TimSimmons/dns/commits{/sha}","git_commits_url":"https://api.github.com/repos/TimSimmons/dns/git/commits{/sha}","comments_url":"https://api.github.com/repos/TimSimmons/dns/comments{/number}","issue_comment_url":"https://api.github.com/repos/TimSimmons/dns/issues/comments{/number}","contents_url":"https://api.github.com/repos/TimSimmons/dns/contents/{+path}","compare_url":"https://api.github.com/repos/TimSimmons/dns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TimSimmons/dns/merges","archive_url":"https://api.github.com/repos/TimSimmons/dns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TimSimmons/dns/downloads","issues_url":"https://api.github.com/repos/TimSimmons/dns/issues{/number}","pulls_url":"https://api.github.com/repos/TimSimmons/dns/pulls{/number}","milestones_url":"https://api.github.com/repos/TimSimmons/dns/milestones{/number}","notifications_url":"https://api.github.com/repos/TimSimmons/dns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TimSimmons/dns/labels{/name}","releases_url":"https://api.github.com/repos/TimSimmons/dns/releases{/id}","created_at":"2015-09-22T15:22:51Z","updated_at":"2015-09-22T15:22:52Z","pushed_at":"2015-09-22T15:44:31Z","git_url":"git://github.com/TimSimmons/dns.git","ssh_url":"git@github.com:TimSimmons/dns.git","clone_url":"https://github.com/TimSimmons/dns.git","svn_url":"https://github.com/TimSimmons/dns","homepage":"http://miek.nl/posts/2014/Aug/16/go-dns-package/","size":10535,"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":"miekg:master","ref":"master","sha":"859f7da631435550ccc3433b9231d82e503b08e9","user":{"login":"miekg","id":353371,"avatar_url":"https://avatars.githubusercontent.com/u/353371?v=3","gravatar_id":"","url":"https://api.github.com/users/miekg","html_url":"https://github.com/miekg","followers_url":"https://api.github.com/users/miekg/followers","following_url":"https://api.github.com/users/miekg/following{/other_user}","gists_url":"https://api.github.com/users/miekg/gists{/gist_id}","starred_url":"https://api.github.com/users/miekg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miekg/subscriptions","organizations_url":"https://api.github.com/users/miekg/orgs","repos_url":"https://api.github.com/users/miekg/repos","events_url":"https://api.github.com/users/miekg/events{/privacy}","received_events_url":"https://api.github.com/users/miekg/received_events","type":"User","site_admin":false},"repo":{"id":815644,"name":"dns","full_name":"miekg/dns","owner":{"login":"miekg","id":353371,"avatar_url":"https://avatars.githubusercontent.com/u/353371?v=3","gravatar_id":"","url":"https://api.github.com/users/miekg","html_url":"https://github.com/miekg","followers_url":"https://api.github.com/users/miekg/followers","following_url":"https://api.github.com/users/miekg/following{/other_user}","gists_url":"https://api.github.com/users/miekg/gists{/gist_id}","starred_url":"https://api.github.com/users/miekg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miekg/subscriptions","organizations_url":"https://api.github.com/users/miekg/orgs","repos_url":"https://api.github.com/users/miekg/repos","events_url":"https://api.github.com/users/miekg/events{/privacy}","received_events_url":"https://api.github.com/users/miekg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miekg/dns","description":"DNS library in Go","fork":false,"url":"https://api.github.com/repos/miekg/dns","forks_url":"https://api.github.com/repos/miekg/dns/forks","keys_url":"https://api.github.com/repos/miekg/dns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miekg/dns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miekg/dns/teams","hooks_url":"https://api.github.com/repos/miekg/dns/hooks","issue_events_url":"https://api.github.com/repos/miekg/dns/issues/events{/number}","events_url":"https://api.github.com/repos/miekg/dns/events","assignees_url":"https://api.github.com/repos/miekg/dns/assignees{/user}","branches_url":"https://api.github.com/repos/miekg/dns/branches{/branch}","tags_url":"https://api.github.com/repos/miekg/dns/tags","blobs_url":"https://api.github.com/repos/miekg/dns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miekg/dns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miekg/dns/git/refs{/sha}","trees_url":"https://api.github.com/repos/miekg/dns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miekg/dns/statuses/{sha}","languages_url":"https://api.github.com/repos/miekg/dns/languages","stargazers_url":"https://api.github.com/repos/miekg/dns/stargazers","contributors_url":"https://api.github.com/repos/miekg/dns/contributors","subscribers_url":"https://api.github.com/repos/miekg/dns/subscribers","subscription_url":"https://api.github.com/repos/miekg/dns/subscription","commits_url":"https://api.github.com/repos/miekg/dns/commits{/sha}","git_commits_url":"https://api.github.com/repos/miekg/dns/git/commits{/sha}","comments_url":"https://api.github.com/repos/miekg/dns/comments{/number}","issue_comment_url":"https://api.github.com/repos/miekg/dns/issues/comments{/number}","contents_url":"https://api.github.com/repos/miekg/dns/contents/{+path}","compare_url":"https://api.github.com/repos/miekg/dns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miekg/dns/merges","archive_url":"https://api.github.com/repos/miekg/dns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miekg/dns/downloads","issues_url":"https://api.github.com/repos/miekg/dns/issues{/number}","pulls_url":"https://api.github.com/repos/miekg/dns/pulls{/number}","milestones_url":"https://api.github.com/repos/miekg/dns/milestones{/number}","notifications_url":"https://api.github.com/repos/miekg/dns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miekg/dns/labels{/name}","releases_url":"https://api.github.com/repos/miekg/dns/releases{/id}","created_at":"2010-08-03T21:56:23Z","updated_at":"2015-09-22T22:05:48Z","pushed_at":"2015-09-23T15:14:45Z","git_url":"git://github.com/miekg/dns.git","ssh_url":"git@github.com:miekg/dns.git","clone_url":"https://github.com/miekg/dns.git","svn_url":"https://github.com/miekg/dns","homepage":"http://miek.nl/posts/2014/Aug/16/go-dns-package/","size":13100,"stargazers_count":1128,"watchers_count":1128,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":192,"mirror_url":null,"open_issues_count":10,"forks":192,"open_issues":10,"watchers":1128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/miekg/dns/pulls/265"},"html":{"href":"https://github.com/miekg/dns/pull/265"},"issue":{"href":"https://api.github.com/repos/miekg/dns/issues/265"},"comments":{"href":"https://api.github.com/repos/miekg/dns/issues/265/comments"},"review_comments":{"href":"https://api.github.com/repos/miekg/dns/pulls/265/comments"},"review_comment":{"href":"https://api.github.com/repos/miekg/dns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/miekg/dns/pulls/265/commits"},"statuses":{"href":"https://api.github.com/repos/miekg/dns/statuses/d76340e1fcad3cbf2bc1cb4bf49f41036a84e0a5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":3,"changed_files":1}}