package
0.23.0
Repository: https://github.com/m-lab/ndt-server.git
Documentation: pkg.go.dev

# Packages

Package iface provides access to network connection operations via file descriptor.

# Functions

NewListener creates a new Listener using the given net.TCPListener.
ToConnInfo is a helper function for extracting the ConnInfo interface from the net.Conn of various origins.
ToTCPAddr is a helper function for extracting the net.TCPAddr type from a net.Addr of various origins.

# Variables

Metrics for resource accounting in the netx package.

# Structs

Addr supports the net.Addr interface and allows mediated access to operations on the parent Conn.
Conn is returned by Listener.Accept and provides mediated access to additional operations on the Conn file descriptor.
Listener is a TCPListener that is suitable for raw TCP servers, HTTP servers, and TLS HTTP servers.

# Interfaces

ConnInfo provides operations on a Conn's underlying file descriptor.