Documentation ¶ Rendered for linux/amd64 darwin/amd64 Index ¶ func TCPSocket(proto, addr string, reusePort bool) (int, net.Addr, error) func UDPSocket(proto, addr string, reusePort bool) (int, net.Addr, error) func UnixSocket(proto, addr string, reusePort bool) (int, net.Addr, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func TCPSocket ¶ func TCPSocket(proto, addr string, reusePort bool) (int, net.Addr, error) TCPSocket calls tcpReusablePort. func UDPSocket ¶ func UDPSocket(proto, addr string, reusePort bool) (int, net.Addr, error) UDPSocket calls udpReusablePort. func UnixSocket ¶ func UnixSocket(proto, addr string, reusePort bool) (int, net.Addr, error) UnixSocket calls udsReusablePort. Types ¶ This section is empty. Source Files ¶ View all Source files reuseport.go reuseport_linux.go sock_cloexec.go tcp.go udp.go uds.go Click to show internal directories. Click to hide internal directories.