Documentation
¶
Index ¶
- Variables
- func Dial(network string, address string) (net.Conn, error)
- func DialContext(ctx context.Context, network string, address string) (net.Conn, error)
- func DialTimeout(network string, address string, timeout time.Duration) (net.Conn, error)
- func Listen(network string, addr string) (net.Listener, error)
- func ListenPacket(network string, addr string) (net.PacketConn, error)
- func PinVortexes() error
- func UnpinVortexes() error
- func UseProcessPriority(level process.PriorityLevel)
- type Dialer
- type IPConn
- type TCPConn
- type TCPListener
- type UDPConn
- type UnixConn
- type UnixListener
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultDialer = Dialer{}
)
Functions ¶
func DialContext ¶
func DialTimeout ¶
func ListenPacket ¶
func ListenPacket(network string, addr string) (net.PacketConn, error)
func PinVortexes ¶
func PinVortexes() error
func UnpinVortexes ¶
func UnpinVortexes() error
func UseProcessPriority ¶
func UseProcessPriority(level process.PriorityLevel)
Types ¶
type Dialer ¶
func (*Dialer) SetFastOpen ¶
type TCPListener ¶
type TCPListener struct {
*net.TCPListener
}
type UDPConn ¶
func ListenMulticastUDP ¶
type UnixListener ¶
type UnixListener struct {
*net.UnixListener
}
func ListenUnix ¶
func ListenUnix(network string, addr *net.UnixAddr) (*UnixListener, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.