Documentation ¶
Overview ¶
Package reuseport provides a function that returns a net.Listener powered by a net.FileListener with a SO_REUSEPORT option set to the socket.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReusablePortListener ¶
NewReusablePortListener returns net.FileListener that created from a file discriptor for a socket with SO_REUSEPORT option.
func NewReusablePortPacketConn ¶
func NewReusablePortPacketConn(proto, addr string) (l net.PacketConn, err error)
NewReusablePortPacketConn returns net.FileListener that created from a file discriptor for a socket with SO_REUSEPORT option.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.