//
pkg.gl
Category
github.com/qwenode/tailscale
net
nettest
package
5.0.0+incompatible
Repository:
https://github.com/qwenode/tailscale.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
10
Dependents
0
Files
342 SLOC
#
Functions
Listen
Listen returns a new Listener for the provided address.
NewConn
NewConn creates a pair of Conns that are wired together by pipes.
NewPipe
NewPipe creates a Pipe with a buffer size fixed at maxBuf.
#
Structs
Listener
Listener is a net.Listener using using NewConn to create pairs of network connections connected in memory using a buffered pipe.
Pipe
Pipe implements an in-memory FIFO with timeouts.
#
Interfaces
Conn
Conn is a net.Conn that can additionally have its reads and writes blocked and unblocked.