Removed pre-go1.17 build-tags with go fix; go mod init go fix -mod=readonly ./... rm go.mod Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
10 lines
327 B
Go
10 lines
327 B
Go
//go:build !windows
|
|
|
|
package opts
|
|
|
|
// defaultHost constant defines the default host string used by docker on other hosts than Windows
|
|
const defaultHost = "unix://" + defaultUnixSocket
|
|
|
|
// defaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
|
|
const defaultHTTPHost = "localhost"
|