Documentation ¶ Index ¶ func NewLoopbackListener() (net.Listener, func(net.Conn) error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLoopbackListener ¶ func NewLoopbackListener() (net.Listener, func(net.Conn) error) NewLoopbackListener returns a net.Listener that rather than listening on a real network interface, waits for you to add new connections to it with the returned AddConn function. Types ¶ This section is empty. Source Files ¶ View all Source files loopback.go Click to show internal directories. Click to hide internal directories.