mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-06-11 05:21:44 +03:00
15 lines
303 B
Go
15 lines
303 B
Go
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || windows
|
|
|
|
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
|
|
}
|
|
}
|