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.
# Interfaces
PortStack is the stack to which a [*Port] is attached.
TCPListenerStack is the stack to which a [*TCPListener] is attached.