Versions in this module Expand all Collapse all v1 v1.31.2 Dec 11, 2021 Changes in this version + var ErrInmemoryListenerClosed = errors.New("InmemoryListener is already closed: use of closed network connection") + var ErrTimeout = &timeoutError + type InmemoryListener struct + func NewInmemoryListener() *InmemoryListener + func (ln *InmemoryListener) Accept() (net.Conn, error) + func (ln *InmemoryListener) Addr() net.Addr + func (ln *InmemoryListener) Close() error + func (ln *InmemoryListener) Dial() (net.Conn, error) + type PipeConns struct + func NewPipeConns() *PipeConns + func (pc *PipeConns) Close() error + func (pc *PipeConns) Conn1() net.Conn + func (pc *PipeConns) Conn2() net.Conn