package
1.79.0-mod
Repository: https://github.com/sagernet/tailscale.git
Documentation: pkg.go.dev

# Functions

Listen returns a new Listener for the provided address.
NewConn creates a pair of Conns that are wired together by pipes.
NewPipe creates a Pipe with a buffer size fixed at maxBuf.
NewTCPConn creates a pair of Conns that are wired together by pipes.

# Constants

NetworkName is the network name returned by [net.Addr.Network] for [net.Conn.LocalAddr] and [net.Conn.RemoteAddr] from the [Conn] type.

# Structs

Listener is a net.Listener using NewConn to create pairs of network connections connected in memory using a buffered pipe.
Pipe implements an in-memory FIFO with timeouts.

# Interfaces

Conn is a net.Conn that can additionally have its reads and writes blocked and unblocked.