reuseport

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 TCPSocketConnect

func TCPSocketConnect(proto, addr string, reusePort bool) (int, unix.Sockaddr, net.Addr, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL