package
0.0.0-20250210062315-4927232b2f26
Repository: https://github.com/rbmk-project/x.git
Documentation: pkg.go.dev

# Functions

New creates a new [*Stack] instance and starts a goroutine demuxing incoming traffic.
NewPort creates a [*Port] instance with the given [*PortAddr].
NewTCPConn creates a new TCP connection.
NewTCPListener creates a new TCP connection.
NewUDPConn creates a new UDP connection.

# Constants

EADDRINUSE is the address in use error.
EADDRNOTAVAIL is the address not available error.
ECONNABORTED is the connection aborted error.
ECONNREFUSED is the connection refused error.
ECONNRESET is the connection reset by peer error.
EHOSTUNREACH is the host unreachable error.
EINVAL is the invalid argument error.
ENETDOWN is the network is down error.
ENOBUFS is the no buffer space available error.
ENOTCONN is the not connected error.
EPROTONOSUPPORT is the protocol not supported error.
Constant aliases.
Constant aliases.
Constant aliases.
Constant aliases.
Constant aliases.
Constant aliases.
Constant aliases.

# Variables

ErrNoConfiguredResolvers is returned when there are no configured resolvers.

# Structs

Addr represents a TCP/UDP address.
Port models an open TCP/UDP port.
PortAddr is the [*Port] address.
Stack models a network stack.
TCPConn is a TCP connection.
TCPListener is a TCP listener.
UDPConn is a UDP connection.

# Interfaces

PortStack is the stack to which a [*Port] is attached.
TCPListenerStack is the stack to which a [*TCPListener] is attached.

# Type aliases

Type aliases.
Type aliases.
Type aliases.