{"action":"closed","number":31,"pull_request":{"url":"https://api.github.com/repos/fiorix/go-smpp/pulls/31","id":82079276,"html_url":"https://github.com/fiorix/go-smpp/pull/31","diff_url":"https://github.com/fiorix/go-smpp/pull/31.diff","patch_url":"https://github.com/fiorix/go-smpp/pull/31.patch","issue_url":"https://api.github.com/repos/fiorix/go-smpp/issues/31","number":31,"state":"closed","locked":false,"title":"BroadcastMessage() function to send to all receivers","user":{"login":"yunspace","id":218128,"avatar_url":"https://avatars.githubusercontent.com/u/218128?v=3","gravatar_id":"","url":"https://api.github.com/users/yunspace","html_url":"https://github.com/yunspace","followers_url":"https://api.github.com/users/yunspace/followers","following_url":"https://api.github.com/users/yunspace/following{/other_user}","gists_url":"https://api.github.com/users/yunspace/gists{/gist_id}","starred_url":"https://api.github.com/users/yunspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunspace/subscriptions","organizations_url":"https://api.github.com/users/yunspace/orgs","repos_url":"https://api.github.com/users/yunspace/repos","events_url":"https://api.github.com/users/yunspace/events{/privacy}","received_events_url":"https://api.github.com/users/yunspace/received_events","type":"User","site_admin":false},"body":"I found the smpptest server extremely useful for testing transmitters but not so helpful for testing receivers. In the `receiver_test` for example, receipt of a message is achieved by hijacking the `Receiver.conn`, rather than coming from the actual test server.\r\n\r\nSo I've added a `BroadcastMessage` function to write a given test message to all bound receiver connections. ","created_at":"2016-08-20T13:54:06Z","updated_at":"2016-08-20T23:27:25Z","closed_at":"2016-08-20T23:27:25Z","merged_at":"2016-08-20T23:27:25Z","merge_commit_sha":"6681abb7c7f4c45f9cb2585b97e6d207f71ad10a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fiorix/go-smpp/pulls/31/commits","review_comments_url":"https://api.github.com/repos/fiorix/go-smpp/pulls/31/comments","review_comment_url":"https://api.github.com/repos/fiorix/go-smpp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fiorix/go-smpp/issues/31/comments","statuses_url":"https://api.github.com/repos/fiorix/go-smpp/statuses/d6c73a0be49ef57b7a597e2288ead6ddb7dbe700","head":{"label":"amaysim-au:master","ref":"master","sha":"d6c73a0be49ef57b7a597e2288ead6ddb7dbe700","user":{"login":"amaysim-au","id":1271858,"avatar_url":"https://avatars.githubusercontent.com/u/1271858?v=3","gravatar_id":"","url":"https://api.github.com/users/amaysim-au","html_url":"https://github.com/amaysim-au","followers_url":"https://api.github.com/users/amaysim-au/followers","following_url":"https://api.github.com/users/amaysim-au/following{/other_user}","gists_url":"https://api.github.com/users/amaysim-au/gists{/gist_id}","starred_url":"https://api.github.com/users/amaysim-au/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaysim-au/subscriptions","organizations_url":"https://api.github.com/users/amaysim-au/orgs","repos_url":"https://api.github.com/users/amaysim-au/repos","events_url":"https://api.github.com/users/amaysim-au/events{/privacy}","received_events_url":"https://api.github.com/users/amaysim-au/received_events","type":"Organization","site_admin":false},"repo":{"id":66132275,"name":"go-smpp","full_name":"amaysim-au/go-smpp","owner":{"login":"amaysim-au","id":1271858,"avatar_url":"https://avatars.githubusercontent.com/u/1271858?v=3","gravatar_id":"","url":"https://api.github.com/users/amaysim-au","html_url":"https://github.com/amaysim-au","followers_url":"https://api.github.com/users/amaysim-au/followers","following_url":"https://api.github.com/users/amaysim-au/following{/other_user}","gists_url":"https://api.github.com/users/amaysim-au/gists{/gist_id}","starred_url":"https://api.github.com/users/amaysim-au/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaysim-au/subscriptions","organizations_url":"https://api.github.com/users/amaysim-au/orgs","repos_url":"https://api.github.com/users/amaysim-au/repos","events_url":"https://api.github.com/users/amaysim-au/events{/privacy}","received_events_url":"https://api.github.com/users/amaysim-au/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amaysim-au/go-smpp","description":"SMPP 3.4 for Go","fork":true,"url":"https://api.github.com/repos/amaysim-au/go-smpp","forks_url":"https://api.github.com/repos/amaysim-au/go-smpp/forks","keys_url":"https://api.github.com/repos/amaysim-au/go-smpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amaysim-au/go-smpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amaysim-au/go-smpp/teams","hooks_url":"https://api.github.com/repos/amaysim-au/go-smpp/hooks","issue_events_url":"https://api.github.com/repos/amaysim-au/go-smpp/issues/events{/number}","events_url":"https://api.github.com/repos/amaysim-au/go-smpp/events","assignees_url":"https://api.github.com/repos/amaysim-au/go-smpp/assignees{/user}","branches_url":"https://api.github.com/repos/amaysim-au/go-smpp/branches{/branch}","tags_url":"https://api.github.com/repos/amaysim-au/go-smpp/tags","blobs_url":"https://api.github.com/repos/amaysim-au/go-smpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amaysim-au/go-smpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amaysim-au/go-smpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/amaysim-au/go-smpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amaysim-au/go-smpp/statuses/{sha}","languages_url":"https://api.github.com/repos/amaysim-au/go-smpp/languages","stargazers_url":"https://api.github.com/repos/amaysim-au/go-smpp/stargazers","contributors_url":"https://api.github.com/repos/amaysim-au/go-smpp/contributors","subscribers_url":"https://api.github.com/repos/amaysim-au/go-smpp/subscribers","subscription_url":"https://api.github.com/repos/amaysim-au/go-smpp/subscription","commits_url":"https://api.github.com/repos/amaysim-au/go-smpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/amaysim-au/go-smpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/amaysim-au/go-smpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/amaysim-au/go-smpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/amaysim-au/go-smpp/contents/{+path}","compare_url":"https://api.github.com/repos/amaysim-au/go-smpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amaysim-au/go-smpp/merges","archive_url":"https://api.github.com/repos/amaysim-au/go-smpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amaysim-au/go-smpp/downloads","issues_url":"https://api.github.com/repos/amaysim-au/go-smpp/issues{/number}","pulls_url":"https://api.github.com/repos/amaysim-au/go-smpp/pulls{/number}","milestones_url":"https://api.github.com/repos/amaysim-au/go-smpp/milestones{/number}","notifications_url":"https://api.github.com/repos/amaysim-au/go-smpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amaysim-au/go-smpp/labels{/name}","releases_url":"https://api.github.com/repos/amaysim-au/go-smpp/releases{/id}","deployments_url":"https://api.github.com/repos/amaysim-au/go-smpp/deployments","created_at":"2016-08-20T06:28:55Z","updated_at":"2016-08-20T06:28:56Z","pushed_at":"2016-08-20T13:56:03Z","git_url":"git://github.com/amaysim-au/go-smpp.git","ssh_url":"git@github.com:amaysim-au/go-smpp.git","clone_url":"https://github.com/amaysim-au/go-smpp.git","svn_url":"https://github.com/amaysim-au/go-smpp","homepage":null,"size":164,"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":"fiorix:master","ref":"master","sha":"98880ff5a87730d144231848364141d34448057d","user":{"login":"fiorix","id":129742,"avatar_url":"https://avatars.githubusercontent.com/u/129742?v=3","gravatar_id":"","url":"https://api.github.com/users/fiorix","html_url":"https://github.com/fiorix","followers_url":"https://api.github.com/users/fiorix/followers","following_url":"https://api.github.com/users/fiorix/following{/other_user}","gists_url":"https://api.github.com/users/fiorix/gists{/gist_id}","starred_url":"https://api.github.com/users/fiorix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiorix/subscriptions","organizations_url":"https://api.github.com/users/fiorix/orgs","repos_url":"https://api.github.com/users/fiorix/repos","events_url":"https://api.github.com/users/fiorix/events{/privacy}","received_events_url":"https://api.github.com/users/fiorix/received_events","type":"User","site_admin":false},"repo":{"id":43055429,"name":"go-smpp","full_name":"fiorix/go-smpp","owner":{"login":"fiorix","id":129742,"avatar_url":"https://avatars.githubusercontent.com/u/129742?v=3","gravatar_id":"","url":"https://api.github.com/users/fiorix","html_url":"https://github.com/fiorix","followers_url":"https://api.github.com/users/fiorix/followers","following_url":"https://api.github.com/users/fiorix/following{/other_user}","gists_url":"https://api.github.com/users/fiorix/gists{/gist_id}","starred_url":"https://api.github.com/users/fiorix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiorix/subscriptions","organizations_url":"https://api.github.com/users/fiorix/orgs","repos_url":"https://api.github.com/users/fiorix/repos","events_url":"https://api.github.com/users/fiorix/events{/privacy}","received_events_url":"https://api.github.com/users/fiorix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fiorix/go-smpp","description":"SMPP 3.4 for Go","fork":false,"url":"https://api.github.com/repos/fiorix/go-smpp","forks_url":"https://api.github.com/repos/fiorix/go-smpp/forks","keys_url":"https://api.github.com/repos/fiorix/go-smpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fiorix/go-smpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fiorix/go-smpp/teams","hooks_url":"https://api.github.com/repos/fiorix/go-smpp/hooks","issue_events_url":"https://api.github.com/repos/fiorix/go-smpp/issues/events{/number}","events_url":"https://api.github.com/repos/fiorix/go-smpp/events","assignees_url":"https://api.github.com/repos/fiorix/go-smpp/assignees{/user}","branches_url":"https://api.github.com/repos/fiorix/go-smpp/branches{/branch}","tags_url":"https://api.github.com/repos/fiorix/go-smpp/tags","blobs_url":"https://api.github.com/repos/fiorix/go-smpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fiorix/go-smpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fiorix/go-smpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fiorix/go-smpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fiorix/go-smpp/statuses/{sha}","languages_url":"https://api.github.com/repos/fiorix/go-smpp/languages","stargazers_url":"https://api.github.com/repos/fiorix/go-smpp/stargazers","contributors_url":"https://api.github.com/repos/fiorix/go-smpp/contributors","subscribers_url":"https://api.github.com/repos/fiorix/go-smpp/subscribers","subscription_url":"https://api.github.com/repos/fiorix/go-smpp/subscription","commits_url":"https://api.github.com/repos/fiorix/go-smpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fiorix/go-smpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fiorix/go-smpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fiorix/go-smpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fiorix/go-smpp/contents/{+path}","compare_url":"https://api.github.com/repos/fiorix/go-smpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fiorix/go-smpp/merges","archive_url":"https://api.github.com/repos/fiorix/go-smpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fiorix/go-smpp/downloads","issues_url":"https://api.github.com/repos/fiorix/go-smpp/issues{/number}","pulls_url":"https://api.github.com/repos/fiorix/go-smpp/pulls{/number}","milestones_url":"https://api.github.com/repos/fiorix/go-smpp/milestones{/number}","notifications_url":"https://api.github.com/repos/fiorix/go-smpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fiorix/go-smpp/labels{/name}","releases_url":"https://api.github.com/repos/fiorix/go-smpp/releases{/id}","deployments_url":"https://api.github.com/repos/fiorix/go-smpp/deployments","created_at":"2015-09-24T08:48:44Z","updated_at":"2016-08-09T06:54:00Z","pushed_at":"2016-08-20T23:27:25Z","git_url":"git://github.com/fiorix/go-smpp.git","ssh_url":"git@github.com:fiorix/go-smpp.git","clone_url":"https://github.com/fiorix/go-smpp.git","svn_url":"https://github.com/fiorix/go-smpp","homepage":null,"size":204,"stargazers_count":23,"watchers_count":23,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":6,"forks":14,"open_issues":6,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fiorix/go-smpp/pulls/31"},"html":{"href":"https://github.com/fiorix/go-smpp/pull/31"},"issue":{"href":"https://api.github.com/repos/fiorix/go-smpp/issues/31"},"comments":{"href":"https://api.github.com/repos/fiorix/go-smpp/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/fiorix/go-smpp/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/fiorix/go-smpp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fiorix/go-smpp/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/fiorix/go-smpp/statuses/d6c73a0be49ef57b7a597e2288ead6ddb7dbe700"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fiorix","id":129742,"avatar_url":"https://avatars.githubusercontent.com/u/129742?v=3","gravatar_id":"","url":"https://api.github.com/users/fiorix","html_url":"https://github.com/fiorix","followers_url":"https://api.github.com/users/fiorix/followers","following_url":"https://api.github.com/users/fiorix/following{/other_user}","gists_url":"https://api.github.com/users/fiorix/gists{/gist_id}","starred_url":"https://api.github.com/users/fiorix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiorix/subscriptions","organizations_url":"https://api.github.com/users/fiorix/orgs","repos_url":"https://api.github.com/users/fiorix/repos","events_url":"https://api.github.com/users/fiorix/events{/privacy}","received_events_url":"https://api.github.com/users/fiorix/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":17,"deletions":8,"changed_files":2}}
{"actor":{"display_login":"fiorix"}}