func testUnixAddr(t testing.TB) string { … }
func newLocalListener(t testing.TB, network string, lcOpt ...*ListenConfig) Listener { … }
func newDualStackListener() (lns []*TCPListener, err error) { … }
type localServer …
func (ls *localServer) buildup(handler func(*localServer, Listener)) error { … }
func (ls *localServer) teardown() error { … }
func newLocalServer(t testing.TB, network string) *localServer { … }
type streamListener …
func (sl *streamListener) newLocalServer() *localServer { … }
type dualStackServer …
func (dss *dualStackServer) buildup(handler func(*dualStackServer, Listener)) error { … }
func (dss *dualStackServer) teardownNetwork(network string) error { … }
func (dss *dualStackServer) teardown() error { … }
func newDualStackServer() (*dualStackServer, error) { … }
func (ls *localServer) transponder(ln Listener, ch chan<- error) { … }
func transceiver(c Conn, wb []byte, ch chan<- error) { … }
func newLocalPacketListener(t testing.TB, network string, lcOpt ...*ListenConfig) PacketConn { … }
func newDualStackPacketListener() (cs []*UDPConn, err error) { … }
type localPacketServer …
func (ls *localPacketServer) buildup(handler func(*localPacketServer, PacketConn)) error { … }
func (ls *localPacketServer) teardown() error { … }
func newLocalPacketServer(t testing.TB, network string) *localPacketServer { … }
type packetListener …
func (pl *packetListener) newLocalServer() *localPacketServer { … }
func packetTransponder(c PacketConn, ch chan<- error) { … }
func packetTransceiver(c PacketConn, wb []byte, dst Addr, ch chan<- error) { … }
func spawnTestSocketPair(t testing.TB, net string) (client, server Conn) { … }
func startTestSocketPeer(t testing.TB, conn Conn, op string, chunkSize, totalSize int) (func(t testing.TB), error) { … }
func init() { … }