reuseport

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(network, addr string) (net.Listener, error)

Listen announces on the local network address. See net.Listen for more information. If SO_REUSEPORT is available it will be set on the socket.

func ListenPacket

func ListenPacket(network, addr string) (net.PacketConn, error)

ListenPacket announces on the local network address. See net.ListenPacket for more information. If SO_REUSEPORT is available it will be set on the socket.

Types

This section is empty.

Jump to

Keyboard shortcuts

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