{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/587","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/587/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/587/events","html_url":"https://github.com/hashicorp/consul/pull/587","id":53755252,"number":587,"title":"RPC and HTTP interfaces fully generically-sockified so Unix is supported...","user":{"login":"jefferai","id":28627,"avatar_url":"https://avatars.githubusercontent.com/u/28627?v=3","gravatar_id":"","url":"https://api.github.com/users/jefferai","html_url":"https://github.com/jefferai","followers_url":"https://api.github.com/users/jefferai/followers","following_url":"https://api.github.com/users/jefferai/following{/other_user}","gists_url":"https://api.github.com/users/jefferai/gists{/gist_id}","starred_url":"https://api.github.com/users/jefferai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefferai/subscriptions","organizations_url":"https://api.github.com/users/jefferai/orgs","repos_url":"https://api.github.com/users/jefferai/repos","events_url":"https://api.github.com/users/jefferai/events{/privacy}","received_events_url":"https://api.github.com/users/jefferai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-08T14:22:17Z","updated_at":"2015-01-08T18:35:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/consul/pulls/587","html_url":"https://github.com/hashicorp/consul/pull/587","diff_url":"https://github.com/hashicorp/consul/pull/587.diff","patch_url":"https://github.com/hashicorp/consul/pull/587.patch"},"body":"....\r\n\r\nClient works for RPC; will honor CONSUL_RPC_ADDR. HTTP works via consul/api;\r\nhonors CONSUL_HTTP_ADDR.\r\n\r\nThe format of a Unix socket in configuration data is:\r\n\"unix://[/path/to/socket];[username or uid];[gid];[mode]\"\r\n\r\nObviously, the user must have appropriate permissions to create the socket\r\nfile in the given path and assign the requested uid/gid. Also note that Go does\r\nnot support gid lookups from group name, so gid must be numeric. See\r\nhttps://codereview.appspot.com/101310044\r\n\r\nWhen connecting from the client, the format is just the first part of the\r\nabove line:\r\n\"unix://[/path/to/socket]\"\r\n\r\nThis code is copyright 2014 Akamai Technologies, Inc."},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/69225952","html_url":"https://github.com/hashicorp/consul/pull/587#issuecomment-69225952","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/587","id":69225952,"user":{"login":"armon","id":592032,"avatar_url":"https://avatars.githubusercontent.com/u/592032?v=3","gravatar_id":"","url":"https://api.github.com/users/armon","html_url":"https://github.com/armon","followers_url":"https://api.github.com/users/armon/followers","following_url":"https://api.github.com/users/armon/following{/other_user}","gists_url":"https://api.github.com/users/armon/gists{/gist_id}","starred_url":"https://api.github.com/users/armon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armon/subscriptions","organizations_url":"https://api.github.com/users/armon/orgs","repos_url":"https://api.github.com/users/armon/repos","events_url":"https://api.github.com/users/armon/events{/privacy}","received_events_url":"https://api.github.com/users/armon/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T18:35:28Z","updated_at":"2015-01-08T18:35:28Z","body":"Awesome! Do you think you could add appropriate tests for all these changes? Where necessary we can guard them with a runtime.GOOS to make sure we don't run on Windows."}}