Update client to pass go lint

There is one breaking change with the function naming of UidGid to
UIDGID

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-09-25 11:20:49 -04:00
parent 8e447197bc
commit 51b9240b80
8 changed files with 31 additions and 2 deletions

View File

@@ -27,6 +27,8 @@ func dialer(address string, timeout time.Duration) (net.Conn, error) {
return net.DialTimeout("unix", address, timeout)
}
// DialAddress returns the address with unix:// prepended to the
// provided address
func DialAddress(address string) string {
return fmt.Sprintf("unix://%s", address)
}