package
0.5.0
Repository: https://github.com/docker/go-connections.git
Documentation: pkg.go.dev

# Functions

ConfigureTransport configures the specified [http.Transport] according to the specified proto and addr.
DialerFromEnvironment was previously used to configure a net.Dialer to route connections through a SOCKS proxy.
DialPipe connects to a Windows named pipe.
GetProxyEnv allows access to the uppercase and the lowercase forms of proxy-related variables.
NewInmemSocket creates an in-memory only net.Listener The addr argument can be any string, but is used to satisfy the `Addr()` part of the net.Listener interface.
NewTCPSocket creates a TCP socket listener with the specified address and the specified tls configuration.
NewUnixSocket creates a unix socket with the specified path and group.
NewUnixSocketWithOpts creates a unix socket with the specified options.
WithChmod modifies socket file's access mode.
WithChown modifies the socket file's uid and gid.

# Variables

ErrProtocolNotAvailable is returned when a given transport protocol is not provided by the operating system.

# Structs

InmemSocket implements net.Listener using in-memory only connections.

# Type aliases

SockOption sets up socket file's creating option.