Versions in this module Expand all Collapse all v0 v0.1.0 May 1, 2018 Changes in this version + func Dial(network, address string) (net.Conn, error) + func DialContext(ctx context.Context, network, address string) (net.Conn, error) + func Listen(network, address string) (net.Listener, error) + func MapNetwork(from, to string) + func Pipe() (net.Conn, net.Conn) + type Addr struct + Name string + func (a Addr) Buffered() bool + func (a Addr) Network() string + func (a Addr) String() string + type Conn struct + func DialMem(network string, laddr, raddr *Addr) (*Conn, error) + func DialMemContext(ctx context.Context, network string, laddr, raddr *Addr) (*Conn, error) + func (c *Conn) BufferSize() uint64 + func (c *Conn) Close() error + func (c *Conn) CloseTimeout() time.Duration + func (c *Conn) CopyOnWrite() bool + func (c *Conn) Errs() <-chan error + func (c *Conn) LocalAddr() net.Addr + func (c *Conn) LocalBuffered() bool + func (c *Conn) Read(b []byte) (int, error) + func (c *Conn) RemoteAddr() net.Addr + func (c *Conn) RemoteBuffered() bool + func (c *Conn) SetBufferSize(i uint64) + func (c *Conn) SetCloseTimeout(duration time.Duration) + func (c *Conn) SetCopyOnWrite(enabled bool) + func (c *Conn) SetReadDeadline(t time.Time) error + func (c *Conn) SetWriteDeadline(t time.Time) error + func (c *Conn) Write(b []byte) (int, error) + func (p *Conn) SetDeadline(t time.Time) error + type Listener struct + func ListenMem(network string, laddr *Addr) (*Listener, error) + func (l *Listener) Accept() (net.Conn, error) + func (l *Listener) AcceptMemConn() (*Conn, error) + func (l *Listener) Addr() net.Addr + func (l *Listener) Close() error + type Provider struct + func (p *Provider) Dial(network, address string) (net.Conn, error) + func (p *Provider) DialContext(ctx context.Context, network, address string) (net.Conn, error) + func (p *Provider) DialMem(network string, laddr, raddr *Addr) (*Conn, error) + func (p *Provider) DialMemContext(ctx context.Context, network string, laddr, raddr *Addr) (*Conn, error) + func (p *Provider) Listen(network, address string) (net.Listener, error) + func (p *Provider) ListenMem(network string, laddr *Addr) (*Listener, error) + func (p *Provider) MapNetwork(from, to string)