package
0.3.0
Repository: https://github.com/n4ss/go-connections.git
Documentation: pkg.go.dev

# Functions

ConfigureTransport configures the specified Transport according to the specified proto and addr.
DialerFromEnvironment takes in a "direct" *net.Dialer and returns a proxy.Dialer which will route the connections through the proxy using the given dialer.
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.

# 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.