{"action":"created","comment":{"url":"https://api.github.com/repos/bosnet/sebak/pulls/comments/197074783","pull_request_review_id":130743950,"id":197074783,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzA3NDc4Mw==","diff_hunk":"@@ -0,0 +1,63 @@\n+package sebak\n+\n+import (\n+\t\"context\"\n+\t\"fmt\"\n+\t\"net/http\"\n+\n+\t\"boscoin.io/sebak/lib/network\"\n+\t\"github.com/GianlucaGuarini/go-observable\"\n+)\n+","path":"lib/api.go","position":null,"original_position":11,"commit_id":"6c0195aa58b7575949563318c9fc0e472b064f18","original_commit_id":"20eb25268d01ea291db3ec321450491a0c810b19","user":{"login":"anarcher","id":12271,"node_id":"MDQ6VXNlcjEyMjcx","avatar_url":"https://avatars1.githubusercontent.com/u/12271?v=4","gravatar_id":"","url":"https://api.github.com/users/anarcher","html_url":"https://github.com/anarcher","followers_url":"https://api.github.com/users/anarcher/followers","following_url":"https://api.github.com/users/anarcher/following{/other_user}","gists_url":"https://api.github.com/users/anarcher/gists{/gist_id}","starred_url":"https://api.github.com/users/anarcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarcher/subscriptions","organizations_url":"https://api.github.com/users/anarcher/orgs","repos_url":"https://api.github.com/users/anarcher/repos","events_url":"https://api.github.com/users/anarcher/events{/privacy}","received_events_url":"https://api.github.com/users/anarcher/received_events","type":"User","site_admin":false},"body":"@kfangw  I am honored that I have helped you. `:-]`","created_at":"2018-06-21T09:52:03Z","updated_at":"2018-06-21T09:52:03Z","html_url":"https://github.com/bosnet/sebak/pull/84#discussion_r197074783","pull_request_url":"https://api.github.com/repos/bosnet/sebak/pulls/84","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/comments/197074783"},"html":{"href":"https://github.com/bosnet/sebak/pull/84#discussion_r197074783"},"pull_request":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/84"}},"in_reply_to_id":196824455},"pull_request":{"url":"https://api.github.com/repos/bosnet/sebak/pulls/84","id":195095289,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MDk1Mjg5","html_url":"https://github.com/bosnet/sebak/pull/84","diff_url":"https://github.com/bosnet/sebak/pull/84.diff","patch_url":"https://github.com/bosnet/sebak/pull/84.patch","issue_url":"https://api.github.com/repos/bosnet/sebak/issues/84","number":84,"state":"closed","locked":false,"title":"API: Account changes to event stream","user":{"login":"kfangw","id":973304,"node_id":"MDQ6VXNlcjk3MzMwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/973304?v=4","gravatar_id":"","url":"https://api.github.com/users/kfangw","html_url":"https://github.com/kfangw","followers_url":"https://api.github.com/users/kfangw/followers","following_url":"https://api.github.com/users/kfangw/following{/other_user}","gists_url":"https://api.github.com/users/kfangw/gists{/gist_id}","starred_url":"https://api.github.com/users/kfangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfangw/subscriptions","organizations_url":"https://api.github.com/users/kfangw/orgs","repos_url":"https://api.github.com/users/kfangw/repos","events_url":"https://api.github.com/users/kfangw/events{/privacy}","received_events_url":"https://api.github.com/users/kfangw/received_events","type":"User","site_admin":false},"body":"### Requirements\r\n\r\n* Implement SSE(Sever Sent Event)\r\n\r\n### Github Issue\r\n#3 \r\n\r\n### Solution\r\nI changed two point\r\n- server-sent-event api with go-observerble\r\n- Adopt mux\r\n\r\nAfter this change, i will add bellows\r\n- client\r\n- APIs for each issues","created_at":"2018-06-15T07:20:27Z","updated_at":"2018-06-21T09:52:03Z","closed_at":"2018-06-21T02:02:22Z","merged_at":"2018-06-21T02:02:22Z","merge_commit_sha":"e968bd12c0f02d4ae464549741caab8964a7cfca","assignee":{"login":"kfangw","id":973304,"node_id":"MDQ6VXNlcjk3MzMwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/973304?v=4","gravatar_id":"","url":"https://api.github.com/users/kfangw","html_url":"https://github.com/kfangw","followers_url":"https://api.github.com/users/kfangw/followers","following_url":"https://api.github.com/users/kfangw/following{/other_user}","gists_url":"https://api.github.com/users/kfangw/gists{/gist_id}","starred_url":"https://api.github.com/users/kfangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfangw/subscriptions","organizations_url":"https://api.github.com/users/kfangw/orgs","repos_url":"https://api.github.com/users/kfangw/repos","events_url":"https://api.github.com/users/kfangw/events{/privacy}","received_events_url":"https://api.github.com/users/kfangw/received_events","type":"User","site_admin":false},"assignees":[{"login":"kfangw","id":973304,"node_id":"MDQ6VXNlcjk3MzMwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/973304?v=4","gravatar_id":"","url":"https://api.github.com/users/kfangw","html_url":"https://github.com/kfangw","followers_url":"https://api.github.com/users/kfangw/followers","following_url":"https://api.github.com/users/kfangw/following{/other_user}","gists_url":"https://api.github.com/users/kfangw/gists{/gist_id}","starred_url":"https://api.github.com/users/kfangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfangw/subscriptions","organizations_url":"https://api.github.com/users/kfangw/orgs","repos_url":"https://api.github.com/users/kfangw/repos","events_url":"https://api.github.com/users/kfangw/events{/privacy}","received_events_url":"https://api.github.com/users/kfangw/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"zzim2x","id":38123717,"node_id":"MDQ6VXNlcjM4MTIzNzE3","avatar_url":"https://avatars1.githubusercontent.com/u/38123717?v=4","gravatar_id":"","url":"https://api.github.com/users/zzim2x","html_url":"https://github.com/zzim2x","followers_url":"https://api.github.com/users/zzim2x/followers","following_url":"https://api.github.com/users/zzim2x/following{/other_user}","gists_url":"https://api.github.com/users/zzim2x/gists{/gist_id}","starred_url":"https://api.github.com/users/zzim2x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzim2x/subscriptions","organizations_url":"https://api.github.com/users/zzim2x/orgs","repos_url":"https://api.github.com/users/zzim2x/repos","events_url":"https://api.github.com/users/zzim2x/events{/privacy}","received_events_url":"https://api.github.com/users/zzim2x/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":904295037,"node_id":"MDU6TGFiZWw5MDQyOTUwMzc=","url":"https://api.github.com/repos/bosnet/sebak/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":{"url":"https://api.github.com/repos/bosnet/sebak/milestones/1","html_url":"https://github.com/bosnet/sebak/milestone/1","labels_url":"https://api.github.com/repos/bosnet/sebak/milestones/1/labels","id":3392945,"node_id":"MDk6TWlsZXN0b25lMzM5Mjk0NQ==","number":1,"title":"Opening Testnet","description":"Ready to launch testnet","creator":{"login":"spikeekips","id":174565,"node_id":"MDQ6VXNlcjE3NDU2NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/174565?v=4","gravatar_id":"","url":"https://api.github.com/users/spikeekips","html_url":"https://github.com/spikeekips","followers_url":"https://api.github.com/users/spikeekips/followers","following_url":"https://api.github.com/users/spikeekips/following{/other_user}","gists_url":"https://api.github.com/users/spikeekips/gists{/gist_id}","starred_url":"https://api.github.com/users/spikeekips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spikeekips/subscriptions","organizations_url":"https://api.github.com/users/spikeekips/orgs","repos_url":"https://api.github.com/users/spikeekips/repos","events_url":"https://api.github.com/users/spikeekips/events{/privacy}","received_events_url":"https://api.github.com/users/spikeekips/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":45,"state":"open","created_at":"2018-06-01T09:57:04Z","updated_at":"2018-06-21T09:44:21Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/bosnet/sebak/pulls/84/commits","review_comments_url":"https://api.github.com/repos/bosnet/sebak/pulls/84/comments","review_comment_url":"https://api.github.com/repos/bosnet/sebak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bosnet/sebak/issues/84/comments","statuses_url":"https://api.github.com/repos/bosnet/sebak/statuses/6c0195aa58b7575949563318c9fc0e472b064f18","head":{"label":"kfangw:sse","ref":"sse","sha":"6c0195aa58b7575949563318c9fc0e472b064f18","user":{"login":"kfangw","id":973304,"node_id":"MDQ6VXNlcjk3MzMwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/973304?v=4","gravatar_id":"","url":"https://api.github.com/users/kfangw","html_url":"https://github.com/kfangw","followers_url":"https://api.github.com/users/kfangw/followers","following_url":"https://api.github.com/users/kfangw/following{/other_user}","gists_url":"https://api.github.com/users/kfangw/gists{/gist_id}","starred_url":"https://api.github.com/users/kfangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfangw/subscriptions","organizations_url":"https://api.github.com/users/kfangw/orgs","repos_url":"https://api.github.com/users/kfangw/repos","events_url":"https://api.github.com/users/kfangw/events{/privacy}","received_events_url":"https://api.github.com/users/kfangw/received_events","type":"User","site_admin":false},"repo":{"id":137439556,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc0Mzk1NTY=","name":"sebak","full_name":"kfangw/sebak","owner":{"login":"kfangw","id":973304,"node_id":"MDQ6VXNlcjk3MzMwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/973304?v=4","gravatar_id":"","url":"https://api.github.com/users/kfangw","html_url":"https://github.com/kfangw","followers_url":"https://api.github.com/users/kfangw/followers","following_url":"https://api.github.com/users/kfangw/following{/other_user}","gists_url":"https://api.github.com/users/kfangw/gists{/gist_id}","starred_url":"https://api.github.com/users/kfangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfangw/subscriptions","organizations_url":"https://api.github.com/users/kfangw/orgs","repos_url":"https://api.github.com/users/kfangw/repos","events_url":"https://api.github.com/users/kfangw/events{/privacy}","received_events_url":"https://api.github.com/users/kfangw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kfangw/sebak","description":"SEBAK, the next BOScoin Tokennet with ISAAC consensus protocol","fork":true,"url":"https://api.github.com/repos/kfangw/sebak","forks_url":"https://api.github.com/repos/kfangw/sebak/forks","keys_url":"https://api.github.com/repos/kfangw/sebak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kfangw/sebak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kfangw/sebak/teams","hooks_url":"https://api.github.com/repos/kfangw/sebak/hooks","issue_events_url":"https://api.github.com/repos/kfangw/sebak/issues/events{/number}","events_url":"https://api.github.com/repos/kfangw/sebak/events","assignees_url":"https://api.github.com/repos/kfangw/sebak/assignees{/user}","branches_url":"https://api.github.com/repos/kfangw/sebak/branches{/branch}","tags_url":"https://api.github.com/repos/kfangw/sebak/tags","blobs_url":"https://api.github.com/repos/kfangw/sebak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kfangw/sebak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kfangw/sebak/git/refs{/sha}","trees_url":"https://api.github.com/repos/kfangw/sebak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kfangw/sebak/statuses/{sha}","languages_url":"https://api.github.com/repos/kfangw/sebak/languages","stargazers_url":"https://api.github.com/repos/kfangw/sebak/stargazers","contributors_url":"https://api.github.com/repos/kfangw/sebak/contributors","subscribers_url":"https://api.github.com/repos/kfangw/sebak/subscribers","subscription_url":"https://api.github.com/repos/kfangw/sebak/subscription","commits_url":"https://api.github.com/repos/kfangw/sebak/commits{/sha}","git_commits_url":"https://api.github.com/repos/kfangw/sebak/git/commits{/sha}","comments_url":"https://api.github.com/repos/kfangw/sebak/comments{/number}","issue_comment_url":"https://api.github.com/repos/kfangw/sebak/issues/comments{/number}","contents_url":"https://api.github.com/repos/kfangw/sebak/contents/{+path}","compare_url":"https://api.github.com/repos/kfangw/sebak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kfangw/sebak/merges","archive_url":"https://api.github.com/repos/kfangw/sebak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kfangw/sebak/downloads","issues_url":"https://api.github.com/repos/kfangw/sebak/issues{/number}","pulls_url":"https://api.github.com/repos/kfangw/sebak/pulls{/number}","milestones_url":"https://api.github.com/repos/kfangw/sebak/milestones{/number}","notifications_url":"https://api.github.com/repos/kfangw/sebak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kfangw/sebak/labels{/name}","releases_url":"https://api.github.com/repos/kfangw/sebak/releases{/id}","deployments_url":"https://api.github.com/repos/kfangw/sebak/deployments","created_at":"2018-06-15T04:05:44Z","updated_at":"2018-06-19T10:34:26Z","pushed_at":"2018-06-21T09:38:26Z","git_url":"git://github.com/kfangw/sebak.git","ssh_url":"git@github.com:kfangw/sebak.git","clone_url":"https://github.com/kfangw/sebak.git","svn_url":"https://github.com/kfangw/sebak","homepage":"https://boscoin.io","size":337,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bosnet:master","ref":"master","sha":"3cf6918f8c17ad4f8215c459ad00c2a4420ebb92","user":{"login":"bosnet","id":37893578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3ODkzNTc4","avatar_url":"https://avatars1.githubusercontent.com/u/37893578?v=4","gravatar_id":"","url":"https://api.github.com/users/bosnet","html_url":"https://github.com/bosnet","followers_url":"https://api.github.com/users/bosnet/followers","following_url":"https://api.github.com/users/bosnet/following{/other_user}","gists_url":"https://api.github.com/users/bosnet/gists{/gist_id}","starred_url":"https://api.github.com/users/bosnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bosnet/subscriptions","organizations_url":"https://api.github.com/users/bosnet/orgs","repos_url":"https://api.github.com/users/bosnet/repos","events_url":"https://api.github.com/users/bosnet/events{/privacy}","received_events_url":"https://api.github.com/users/bosnet/received_events","type":"Organization","site_admin":false},"repo":{"id":129848943,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk4NDg5NDM=","name":"sebak","full_name":"bosnet/sebak","owner":{"login":"bosnet","id":37893578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3ODkzNTc4","avatar_url":"https://avatars1.githubusercontent.com/u/37893578?v=4","gravatar_id":"","url":"https://api.github.com/users/bosnet","html_url":"https://github.com/bosnet","followers_url":"https://api.github.com/users/bosnet/followers","following_url":"https://api.github.com/users/bosnet/following{/other_user}","gists_url":"https://api.github.com/users/bosnet/gists{/gist_id}","starred_url":"https://api.github.com/users/bosnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bosnet/subscriptions","organizations_url":"https://api.github.com/users/bosnet/orgs","repos_url":"https://api.github.com/users/bosnet/repos","events_url":"https://api.github.com/users/bosnet/events{/privacy}","received_events_url":"https://api.github.com/users/bosnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bosnet/sebak","description":"SEBAK, the next BOScoin Tokennet with ISAAC consensus protocol","fork":false,"url":"https://api.github.com/repos/bosnet/sebak","forks_url":"https://api.github.com/repos/bosnet/sebak/forks","keys_url":"https://api.github.com/repos/bosnet/sebak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bosnet/sebak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bosnet/sebak/teams","hooks_url":"https://api.github.com/repos/bosnet/sebak/hooks","issue_events_url":"https://api.github.com/repos/bosnet/sebak/issues/events{/number}","events_url":"https://api.github.com/repos/bosnet/sebak/events","assignees_url":"https://api.github.com/repos/bosnet/sebak/assignees{/user}","branches_url":"https://api.github.com/repos/bosnet/sebak/branches{/branch}","tags_url":"https://api.github.com/repos/bosnet/sebak/tags","blobs_url":"https://api.github.com/repos/bosnet/sebak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bosnet/sebak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bosnet/sebak/git/refs{/sha}","trees_url":"https://api.github.com/repos/bosnet/sebak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bosnet/sebak/statuses/{sha}","languages_url":"https://api.github.com/repos/bosnet/sebak/languages","stargazers_url":"https://api.github.com/repos/bosnet/sebak/stargazers","contributors_url":"https://api.github.com/repos/bosnet/sebak/contributors","subscribers_url":"https://api.github.com/repos/bosnet/sebak/subscribers","subscription_url":"https://api.github.com/repos/bosnet/sebak/subscription","commits_url":"https://api.github.com/repos/bosnet/sebak/commits{/sha}","git_commits_url":"https://api.github.com/repos/bosnet/sebak/git/commits{/sha}","comments_url":"https://api.github.com/repos/bosnet/sebak/comments{/number}","issue_comment_url":"https://api.github.com/repos/bosnet/sebak/issues/comments{/number}","contents_url":"https://api.github.com/repos/bosnet/sebak/contents/{+path}","compare_url":"https://api.github.com/repos/bosnet/sebak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bosnet/sebak/merges","archive_url":"https://api.github.com/repos/bosnet/sebak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bosnet/sebak/downloads","issues_url":"https://api.github.com/repos/bosnet/sebak/issues{/number}","pulls_url":"https://api.github.com/repos/bosnet/sebak/pulls{/number}","milestones_url":"https://api.github.com/repos/bosnet/sebak/milestones{/number}","notifications_url":"https://api.github.com/repos/bosnet/sebak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bosnet/sebak/labels{/name}","releases_url":"https://api.github.com/repos/bosnet/sebak/releases{/id}","deployments_url":"https://api.github.com/repos/bosnet/sebak/deployments","created_at":"2018-04-17T05:05:34Z","updated_at":"2018-06-21T09:45:16Z","pushed_at":"2018-06-21T09:45:14Z","git_url":"git://github.com/bosnet/sebak.git","ssh_url":"git@github.com:bosnet/sebak.git","clone_url":"https://github.com/bosnet/sebak.git","svn_url":"https://github.com/bosnet/sebak","homepage":"https://boscoin.io","size":325,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":60,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":13,"open_issues":60,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/84"},"html":{"href":"https://github.com/bosnet/sebak/pull/84"},"issue":{"href":"https://api.github.com/repos/bosnet/sebak/issues/84"},"comments":{"href":"https://api.github.com/repos/bosnet/sebak/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bosnet/sebak/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/bosnet/sebak/statuses/6c0195aa58b7575949563318c9fc0e472b064f18"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"anarcher"}}