{"action":"created","issue":{"url":"https://api.github.com/repos/olahol/melody/issues/16","repository_url":"https://api.github.com/repos/olahol/melody","labels_url":"https://api.github.com/repos/olahol/melody/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/olahol/melody/issues/16/comments","events_url":"https://api.github.com/repos/olahol/melody/issues/16/events","html_url":"https://github.com/olahol/melody/issues/16","id":196778916,"number":16,"title":"Make melody.hub public","user":{"login":"metalmatze","id":872251,"avatar_url":"https://avatars.githubusercontent.com/u/872251?v=3","gravatar_id":"","url":"https://api.github.com/users/metalmatze","html_url":"https://github.com/metalmatze","followers_url":"https://api.github.com/users/metalmatze/followers","following_url":"https://api.github.com/users/metalmatze/following{/other_user}","gists_url":"https://api.github.com/users/metalmatze/gists{/gist_id}","starred_url":"https://api.github.com/users/metalmatze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalmatze/subscriptions","organizations_url":"https://api.github.com/users/metalmatze/orgs","repos_url":"https://api.github.com/users/metalmatze/repos","events_url":"https://api.github.com/users/metalmatze/events{/privacy}","received_events_url":"https://api.github.com/users/metalmatze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-20T20:54:50Z","updated_at":"2016-12-21T10:05:14Z","closed_at":null,"body":"Hey,\r\nI need a way to figure out if a there are active sessions because I only want to do work if there are any.\r\nI almost implemented something like the `melody.hub` myself, but I think that it would be better to make this public or provide some kind of API.\r\nThanks"},"comment":{"url":"https://api.github.com/repos/olahol/melody/issues/comments/268483956","html_url":"https://github.com/olahol/melody/issues/16#issuecomment-268483956","issue_url":"https://api.github.com/repos/olahol/melody/issues/16","id":268483956,"user":{"login":"olahol","id":1386739,"avatar_url":"https://avatars.githubusercontent.com/u/1386739?v=3","gravatar_id":"","url":"https://api.github.com/users/olahol","html_url":"https://github.com/olahol","followers_url":"https://api.github.com/users/olahol/followers","following_url":"https://api.github.com/users/olahol/following{/other_user}","gists_url":"https://api.github.com/users/olahol/gists{/gist_id}","starred_url":"https://api.github.com/users/olahol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olahol/subscriptions","organizations_url":"https://api.github.com/users/olahol/orgs","repos_url":"https://api.github.com/users/olahol/repos","events_url":"https://api.github.com/users/olahol/events{/privacy}","received_events_url":"https://api.github.com/users/olahol/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T10:05:14Z","updated_at":"2016-12-21T10:05:14Z","body":"Isn't it possible to do what you want by just using `HandleConnect` and `HandleDisconnect` why do you need to access `hub`? \r\n\r\nI don't think a mutex is needed because `hub` is running in a single go routine."}}
{"actor":{"display_login":"olahol"}}