{"action":"created","issue":{"url":"https://api.github.com/repos/adjust/rmq/issues/5","labels_url":"https://api.github.com/repos/adjust/rmq/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/adjust/rmq/issues/5/comments","events_url":"https://api.github.com/repos/adjust/rmq/issues/5/events","html_url":"https://github.com/adjust/rmq/issues/5","id":113685646,"number":5,"title":"Could you expose the queue.RemoveConsumer function through the Queue interface?","user":{"login":"ympons","id":3603893,"avatar_url":"https://avatars.githubusercontent.com/u/3603893?v=3","gravatar_id":"","url":"https://api.github.com/users/ympons","html_url":"https://github.com/ympons","followers_url":"https://api.github.com/users/ympons/followers","following_url":"https://api.github.com/users/ympons/following{/other_user}","gists_url":"https://api.github.com/users/ympons/gists{/gist_id}","starred_url":"https://api.github.com/users/ympons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ympons/subscriptions","organizations_url":"https://api.github.com/users/ympons/orgs","repos_url":"https://api.github.com/users/ympons/repos","events_url":"https://api.github.com/users/ympons/events{/privacy}","received_events_url":"https://api.github.com/users/ympons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-27T20:48:15Z","updated_at":"2015-11-03T19:21:19Z","closed_at":null,"body":"Hi,\r\nThanks a lot for this package. Could you expose the queue.RemoveConsumer function through the Queue interface?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/adjust/rmq/issues/comments/153460468","html_url":"https://github.com/adjust/rmq/issues/5#issuecomment-153460468","issue_url":"https://api.github.com/repos/adjust/rmq/issues/5","id":153460468,"user":{"login":"ympons","id":3603893,"avatar_url":"https://avatars.githubusercontent.com/u/3603893?v=3","gravatar_id":"","url":"https://api.github.com/users/ympons","html_url":"https://github.com/ympons","followers_url":"https://api.github.com/users/ympons/followers","following_url":"https://api.github.com/users/ympons/following{/other_user}","gists_url":"https://api.github.com/users/ympons/gists{/gist_id}","starred_url":"https://api.github.com/users/ympons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ympons/subscriptions","organizations_url":"https://api.github.com/users/ympons/orgs","repos_url":"https://api.github.com/users/ympons/repos","events_url":"https://api.github.com/users/ympons/events{/privacy}","received_events_url":"https://api.github.com/users/ympons/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T19:21:19Z","updated_at":"2015-11-03T19:21:19Z","body":"I like the idea of implementing this feature in a separated method instead of moving it to `queue.consumerConsume`.\r\n\r\n> Why is Close part of the interface, it's not used there.\r\n\r\nIt's just a little restriction by the fact that we're operating over Closable consumer. I believe it provides a proper place to introduce any logic related with closing the consumer."}}