Versions in this module Expand all Collapse all v1 v1.0.1 Aug 23, 2014 Changes in this version + var ErrClosing = errors.New("use of closed network connection") + func NewFakeConn(c *C) (client *FakeConn, server *FakeConn) + type FakeAddr struct + Value string + func (addr *FakeAddr) Network() string + func (addr *FakeAddr) String() string + type FakeConn struct + C *C + func (fc *FakeConn) Close() error + func (fc *FakeConn) LocalAddr() net.Addr + func (fc *FakeConn) Read(p []byte) (n int, err error) + func (fc *FakeConn) RemoteAddr() net.Addr + func (fc *FakeConn) SetDeadline(t time.Time) error + func (fc *FakeConn) SetLocalAddr(addr net.Addr) + func (fc *FakeConn) SetReadDeadline(t time.Time) error + func (fc *FakeConn) SetRemoteAddr(addr net.Addr) + func (fc *FakeConn) SetWriteDeadline(t time.Time) error + func (fc *FakeConn) Write(p []byte) (n int, err error)