Versions in this module Expand all Collapse all v1 v1.5.0 Feb 28, 2022 Changes in this version + type MockConn struct + Closed bool + MultiWrite bool + WriteBuffered []byte + func (m *MockConn) Close() error + func (m *MockConn) Read(p []byte) (n int, err error) + func (m *MockConn) SetResponse(r [][]byte) + func (m *MockConn) Write(p []byte) (n int, err error) + func (m MockConn) LocalAddr() net.Addr + func (m MockConn) RemoteAddr() net.Addr + func (m MockConn) SetDeadline(t time.Time) error + func (m MockConn) SetReadDeadline(t time.Time) error + func (m MockConn) SetWriteDeadline(t time.Time) error