grpcurl/cmd/grpcurl/unix.go

15 lines
273 B
Go

// +build darwin dragonfly freebsd linux netbsd openbsd solaris
package main
var (
unix = flags.Bool("unix", false, prettify(`
Indicates that the server address is the path to a Unix domain socket.`))
)
func init() {
isUnixSocket = func() bool {
return *unix
}
}