{"action":"created","issue":{"url":"https://api.github.com/repos/pinterest/riffed/issues/18","repository_url":"https://api.github.com/repos/pinterest/riffed","labels_url":"https://api.github.com/repos/pinterest/riffed/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/pinterest/riffed/issues/18/comments","events_url":"https://api.github.com/repos/pinterest/riffed/issues/18/events","html_url":"https://github.com/pinterest/riffed/pull/18","id":136662651,"number":18,"title":"Simple client","user":{"login":"laozhp","id":6183587,"avatar_url":"https://avatars.githubusercontent.com/u/6183587?v=3","gravatar_id":"","url":"https://api.github.com/users/laozhp","html_url":"https://github.com/laozhp","followers_url":"https://api.github.com/users/laozhp/followers","following_url":"https://api.github.com/users/laozhp/following{/other_user}","gists_url":"https://api.github.com/users/laozhp/gists{/gist_id}","starred_url":"https://api.github.com/users/laozhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laozhp/subscriptions","organizations_url":"https://api.github.com/users/laozhp/orgs","repos_url":"https://api.github.com/users/laozhp/repos","events_url":"https://api.github.com/users/laozhp/events{/privacy}","received_events_url":"https://api.github.com/users/laozhp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-26T10:51:26Z","updated_at":"2016-02-27T01:32:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pinterest/riffed/pulls/18","html_url":"https://github.com/pinterest/riffed/pull/18","diff_url":"https://github.com/pinterest/riffed/pull/18.diff","patch_url":"https://github.com/pinterest/riffed/pull/18.patch"},"body":"Provides a simple client wrapper, that can specify underlying module.\r\nReturn tagged value {:ok, result} | {:error, reason} | {:exception, thrift_exception}"},"comment":{"url":"https://api.github.com/repos/pinterest/riffed/issues/comments/189547581","html_url":"https://github.com/pinterest/riffed/pull/18#issuecomment-189547581","issue_url":"https://api.github.com/repos/pinterest/riffed/issues/18","id":189547581,"user":{"login":"laozhp","id":6183587,"avatar_url":"https://avatars.githubusercontent.com/u/6183587?v=3","gravatar_id":"","url":"https://api.github.com/users/laozhp","html_url":"https://github.com/laozhp","followers_url":"https://api.github.com/users/laozhp/followers","following_url":"https://api.github.com/users/laozhp/following{/other_user}","gists_url":"https://api.github.com/users/laozhp/gists{/gist_id}","starred_url":"https://api.github.com/users/laozhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laozhp/subscriptions","organizations_url":"https://api.github.com/users/laozhp/orgs","repos_url":"https://api.github.com/users/laozhp/repos","events_url":"https://api.github.com/users/laozhp/events{/privacy}","received_events_url":"https://api.github.com/users/laozhp/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T01:32:22Z","updated_at":"2016-02-27T01:32:22Z","body":"@scohen I don't know if it can replace the existing client, because the interface has changed.\r\n\r\nI make this simple client for two main reason:\r\n* Handle thrift exception using elixir style. That is a XXX function return {:ok, result} | {:error, reason} | {:exception, thrift_exception}, a XXX! function return result direct, and throw/raise on error/exception. The XXX! function is not implemented yet.\r\n* I need a duplex client that can handle request from server using the client transport. I will implement this later.\r\n"}}