{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls/2","id":54194311,"html_url":"https://github.com/centrifugal/centrifuge-go/pull/2","diff_url":"https://github.com/centrifugal/centrifuge-go/pull/2.diff","patch_url":"https://github.com/centrifugal/centrifuge-go/pull/2.patch","issue_url":"https://api.github.com/repos/centrifugal/centrifuge-go/issues/2","number":2,"state":"closed","locked":false,"title":"Handle disconnect message","user":{"login":"FZambia","id":1196565,"avatar_url":"https://avatars.githubusercontent.com/u/1196565?v=3","gravatar_id":"","url":"https://api.github.com/users/FZambia","html_url":"https://github.com/FZambia","followers_url":"https://api.github.com/users/FZambia/followers","following_url":"https://api.github.com/users/FZambia/following{/other_user}","gists_url":"https://api.github.com/users/FZambia/gists{/gist_id}","starred_url":"https://api.github.com/users/FZambia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FZambia/subscriptions","organizations_url":"https://api.github.com/users/FZambia/orgs","repos_url":"https://api.github.com/users/FZambia/repos","events_url":"https://api.github.com/users/FZambia/events{/privacy}","received_events_url":"https://api.github.com/users/FZambia/received_events","type":"User","site_admin":false},"body":"Disconnect message tells client to disconnect from Centrifugo. After receiving this message client should stop reconnecting until that message contains an advice to continue reconnect attempts.","created_at":"2015-12-20T07:02:09Z","updated_at":"2015-12-27T19:26:53Z","closed_at":"2015-12-27T19:26:53Z","merged_at":"2015-12-27T19:26:53Z","merge_commit_sha":"6c80cb28332841ceca8a0d3176bfbf506b6a005a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls/2/commits","review_comments_url":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls/2/comments","review_comment_url":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/centrifugal/centrifuge-go/issues/2/comments","statuses_url":"https://api.github.com/repos/centrifugal/centrifuge-go/statuses/4a85fbbd5071fc88512393a0ede2f6966c49258c","head":{"label":"centrifugal:handle_disconnect_message","ref":"handle_disconnect_message","sha":"4a85fbbd5071fc88512393a0ede2f6966c49258c","user":{"login":"centrifugal","id":6236442,"avatar_url":"https://avatars.githubusercontent.com/u/6236442?v=3","gravatar_id":"","url":"https://api.github.com/users/centrifugal","html_url":"https://github.com/centrifugal","followers_url":"https://api.github.com/users/centrifugal/followers","following_url":"https://api.github.com/users/centrifugal/following{/other_user}","gists_url":"https://api.github.com/users/centrifugal/gists{/gist_id}","starred_url":"https://api.github.com/users/centrifugal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centrifugal/subscriptions","organizations_url":"https://api.github.com/users/centrifugal/orgs","repos_url":"https://api.github.com/users/centrifugal/repos","events_url":"https://api.github.com/users/centrifugal/events{/privacy}","received_events_url":"https://api.github.com/users/centrifugal/received_events","type":"Organization","site_admin":false},"repo":{"id":43764532,"name":"centrifuge-go","full_name":"centrifugal/centrifuge-go","owner":{"login":"centrifugal","id":6236442,"avatar_url":"https://avatars.githubusercontent.com/u/6236442?v=3","gravatar_id":"","url":"https://api.github.com/users/centrifugal","html_url":"https://github.com/centrifugal","followers_url":"https://api.github.com/users/centrifugal/followers","following_url":"https://api.github.com/users/centrifugal/following{/other_user}","gists_url":"https://api.github.com/users/centrifugal/gists{/gist_id}","starred_url":"https://api.github.com/users/centrifugal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centrifugal/subscriptions","organizations_url":"https://api.github.com/users/centrifugal/orgs","repos_url":"https://api.github.com/users/centrifugal/repos","events_url":"https://api.github.com/users/centrifugal/events{/privacy}","received_events_url":"https://api.github.com/users/centrifugal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/centrifugal/centrifuge-go","description":"Go client to communicate with Centrifugo over Websockets","fork":false,"url":"https://api.github.com/repos/centrifugal/centrifuge-go","forks_url":"https://api.github.com/repos/centrifugal/centrifuge-go/forks","keys_url":"https://api.github.com/repos/centrifugal/centrifuge-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/centrifugal/centrifuge-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/centrifugal/centrifuge-go/teams","hooks_url":"https://api.github.com/repos/centrifugal/centrifuge-go/hooks","issue_events_url":"https://api.github.com/repos/centrifugal/centrifuge-go/issues/events{/number}","events_url":"https://api.github.com/repos/centrifugal/centrifuge-go/events","assignees_url":"https://api.github.com/repos/centrifugal/centrifuge-go/assignees{/user}","branches_url":"https://api.github.com/repos/centrifugal/centrifuge-go/branches{/branch}","tags_url":"https://api.github.com/repos/centrifugal/centrifuge-go/tags","blobs_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/centrifugal/centrifuge-go/statuses/{sha}","languages_url":"https://api.github.com/repos/centrifugal/centrifuge-go/languages","stargazers_url":"https://api.github.com/repos/centrifugal/centrifuge-go/stargazers","contributors_url":"https://api.github.com/repos/centrifugal/centrifuge-go/contributors","subscribers_url":"https://api.github.com/repos/centrifugal/centrifuge-go/subscribers","subscription_url":"https://api.github.com/repos/centrifugal/centrifuge-go/subscription","commits_url":"https://api.github.com/repos/centrifugal/centrifuge-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/centrifugal/centrifuge-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/centrifugal/centrifuge-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/centrifugal/centrifuge-go/contents/{+path}","compare_url":"https://api.github.com/repos/centrifugal/centrifuge-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/centrifugal/centrifuge-go/merges","archive_url":"https://api.github.com/repos/centrifugal/centrifuge-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/centrifugal/centrifuge-go/downloads","issues_url":"https://api.github.com/repos/centrifugal/centrifuge-go/issues{/number}","pulls_url":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls{/number}","milestones_url":"https://api.github.com/repos/centrifugal/centrifuge-go/milestones{/number}","notifications_url":"https://api.github.com/repos/centrifugal/centrifuge-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/centrifugal/centrifuge-go/labels{/name}","releases_url":"https://api.github.com/repos/centrifugal/centrifuge-go/releases{/id}","created_at":"2015-10-06T16:54:11Z","updated_at":"2015-10-25T21:21:33Z","pushed_at":"2015-12-27T19:26:53Z","git_url":"git://github.com/centrifugal/centrifuge-go.git","ssh_url":"git@github.com:centrifugal/centrifuge-go.git","clone_url":"https://github.com/centrifugal/centrifuge-go.git","svn_url":"https://github.com/centrifugal/centrifuge-go","homepage":"","size":2122,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"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":2,"default_branch":"master"}},"base":{"label":"centrifugal:master","ref":"master","sha":"b3d7f5efcdda02ff0f48a37492829ab78e94e10a","user":{"login":"centrifugal","id":6236442,"avatar_url":"https://avatars.githubusercontent.com/u/6236442?v=3","gravatar_id":"","url":"https://api.github.com/users/centrifugal","html_url":"https://github.com/centrifugal","followers_url":"https://api.github.com/users/centrifugal/followers","following_url":"https://api.github.com/users/centrifugal/following{/other_user}","gists_url":"https://api.github.com/users/centrifugal/gists{/gist_id}","starred_url":"https://api.github.com/users/centrifugal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centrifugal/subscriptions","organizations_url":"https://api.github.com/users/centrifugal/orgs","repos_url":"https://api.github.com/users/centrifugal/repos","events_url":"https://api.github.com/users/centrifugal/events{/privacy}","received_events_url":"https://api.github.com/users/centrifugal/received_events","type":"Organization","site_admin":false},"repo":{"id":43764532,"name":"centrifuge-go","full_name":"centrifugal/centrifuge-go","owner":{"login":"centrifugal","id":6236442,"avatar_url":"https://avatars.githubusercontent.com/u/6236442?v=3","gravatar_id":"","url":"https://api.github.com/users/centrifugal","html_url":"https://github.com/centrifugal","followers_url":"https://api.github.com/users/centrifugal/followers","following_url":"https://api.github.com/users/centrifugal/following{/other_user}","gists_url":"https://api.github.com/users/centrifugal/gists{/gist_id}","starred_url":"https://api.github.com/users/centrifugal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/centrifugal/subscriptions","organizations_url":"https://api.github.com/users/centrifugal/orgs","repos_url":"https://api.github.com/users/centrifugal/repos","events_url":"https://api.github.com/users/centrifugal/events{/privacy}","received_events_url":"https://api.github.com/users/centrifugal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/centrifugal/centrifuge-go","description":"Go client to communicate with Centrifugo over Websockets","fork":false,"url":"https://api.github.com/repos/centrifugal/centrifuge-go","forks_url":"https://api.github.com/repos/centrifugal/centrifuge-go/forks","keys_url":"https://api.github.com/repos/centrifugal/centrifuge-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/centrifugal/centrifuge-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/centrifugal/centrifuge-go/teams","hooks_url":"https://api.github.com/repos/centrifugal/centrifuge-go/hooks","issue_events_url":"https://api.github.com/repos/centrifugal/centrifuge-go/issues/events{/number}","events_url":"https://api.github.com/repos/centrifugal/centrifuge-go/events","assignees_url":"https://api.github.com/repos/centrifugal/centrifuge-go/assignees{/user}","branches_url":"https://api.github.com/repos/centrifugal/centrifuge-go/branches{/branch}","tags_url":"https://api.github.com/repos/centrifugal/centrifuge-go/tags","blobs_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/centrifugal/centrifuge-go/statuses/{sha}","languages_url":"https://api.github.com/repos/centrifugal/centrifuge-go/languages","stargazers_url":"https://api.github.com/repos/centrifugal/centrifuge-go/stargazers","contributors_url":"https://api.github.com/repos/centrifugal/centrifuge-go/contributors","subscribers_url":"https://api.github.com/repos/centrifugal/centrifuge-go/subscribers","subscription_url":"https://api.github.com/repos/centrifugal/centrifuge-go/subscription","commits_url":"https://api.github.com/repos/centrifugal/centrifuge-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/centrifugal/centrifuge-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/centrifugal/centrifuge-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/centrifugal/centrifuge-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/centrifugal/centrifuge-go/contents/{+path}","compare_url":"https://api.github.com/repos/centrifugal/centrifuge-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/centrifugal/centrifuge-go/merges","archive_url":"https://api.github.com/repos/centrifugal/centrifuge-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/centrifugal/centrifuge-go/downloads","issues_url":"https://api.github.com/repos/centrifugal/centrifuge-go/issues{/number}","pulls_url":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls{/number}","milestones_url":"https://api.github.com/repos/centrifugal/centrifuge-go/milestones{/number}","notifications_url":"https://api.github.com/repos/centrifugal/centrifuge-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/centrifugal/centrifuge-go/labels{/name}","releases_url":"https://api.github.com/repos/centrifugal/centrifuge-go/releases{/id}","created_at":"2015-10-06T16:54:11Z","updated_at":"2015-10-25T21:21:33Z","pushed_at":"2015-12-27T19:26:53Z","git_url":"git://github.com/centrifugal/centrifuge-go.git","ssh_url":"git@github.com:centrifugal/centrifuge-go.git","clone_url":"https://github.com/centrifugal/centrifuge-go.git","svn_url":"https://github.com/centrifugal/centrifuge-go","homepage":"","size":2122,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"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":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls/2"},"html":{"href":"https://github.com/centrifugal/centrifuge-go/pull/2"},"issue":{"href":"https://api.github.com/repos/centrifugal/centrifuge-go/issues/2"},"comments":{"href":"https://api.github.com/repos/centrifugal/centrifuge-go/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/centrifugal/centrifuge-go/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/centrifugal/centrifuge-go/statuses/4a85fbbd5071fc88512393a0ede2f6966c49258c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"FZambia","id":1196565,"avatar_url":"https://avatars.githubusercontent.com/u/1196565?v=3","gravatar_id":"","url":"https://api.github.com/users/FZambia","html_url":"https://github.com/FZambia","followers_url":"https://api.github.com/users/FZambia/followers","following_url":"https://api.github.com/users/FZambia/following{/other_user}","gists_url":"https://api.github.com/users/FZambia/gists{/gist_id}","starred_url":"https://api.github.com/users/FZambia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FZambia/subscriptions","organizations_url":"https://api.github.com/users/FZambia/orgs","repos_url":"https://api.github.com/users/FZambia/repos","events_url":"https://api.github.com/users/FZambia/events{/privacy}","received_events_url":"https://api.github.com/users/FZambia/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":28,"deletions":0,"changed_files":1}}