Documentation ¶
Overview ¶
Package mocks includes mocks to simplify testing.
Index ¶
- type Conn
- func (m *Conn) Close() error
- func (m *Conn) LocalAddr() net.Addr
- func (m *Conn) Read(buffer []byte) (int, error)
- func (m *Conn) Receive(n int, err error) []byte
- func (m *Conn) RemoteAddr() net.Addr
- func (m *Conn) ResetDeath()
- func (m *Conn) Send(buffer []byte, n int, err error)
- func (m *Conn) SetDeadline(_param0 time.Time) error
- func (m *Conn) SetReadDeadline(_param0 time.Time) error
- func (m *Conn) SetWriteDeadline(_param0 time.Time) error
- func (m *Conn) WaitForDeath()
- func (m *Conn) Write(written []byte) (int, error)
- type IOReturn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Mock of Conn interface
func (*Conn) RemoteAddr ¶
func (*Conn) ResetDeath ¶
func (m *Conn) ResetDeath()
func (*Conn) WaitForDeath ¶
func (m *Conn) WaitForDeath()
Click to show internal directories.
Click to hide internal directories.