Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + type MockAddr struct + func NewMockAddr(ctrl *gomock.Controller) *MockAddr + func (m *MockAddr) EXPECT() *MockAddrMockRecorder + func (m *MockAddr) Network() string + func (m *MockAddr) String() string + type MockAddrMockRecorder struct + func (mr *MockAddrMockRecorder) Network() *gomock.Call + func (mr *MockAddrMockRecorder) String() *gomock.Call + type MockConn struct + func NewMockConn(ctrl *gomock.Controller) *MockConn + func (m *MockConn) Close() error + func (m *MockConn) EXPECT() *MockConnMockRecorder + func (m *MockConn) LocalAddr() net.Addr + func (m *MockConn) Read(arg0 []byte) (int, error) + func (m *MockConn) RemoteAddr() net.Addr + func (m *MockConn) SetDeadline(arg0 time.Time) error + func (m *MockConn) SetReadDeadline(arg0 time.Time) error + func (m *MockConn) SetWriteDeadline(arg0 time.Time) error + func (m *MockConn) Write(arg0 []byte) (int, error) + type MockConnMockRecorder struct + func (mr *MockConnMockRecorder) Close() *gomock.Call + func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call + func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call + func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call + type MockPacketConn struct + func NewMockPacketConn(ctrl *gomock.Controller) *MockPacketConn + func (m *MockPacketConn) Close() error + func (m *MockPacketConn) EXPECT() *MockPacketConnMockRecorder + func (m *MockPacketConn) LocalAddr() net.Addr + func (m *MockPacketConn) ReadFrom(arg0 []byte) (int, net.Addr, error) + func (m *MockPacketConn) SetDeadline(arg0 time.Time) error + func (m *MockPacketConn) SetReadDeadline(arg0 time.Time) error + func (m *MockPacketConn) SetWriteDeadline(arg0 time.Time) error + func (m *MockPacketConn) WriteTo(arg0 []byte, arg1 net.Addr) (int, error) + type MockPacketConnMockRecorder struct + func (mr *MockPacketConnMockRecorder) Close() *gomock.Call + func (mr *MockPacketConnMockRecorder) LocalAddr() *gomock.Call + func (mr *MockPacketConnMockRecorder) ReadFrom(arg0 interface{}) *gomock.Call + func (mr *MockPacketConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call + func (mr *MockPacketConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call + func (mr *MockPacketConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call + func (mr *MockPacketConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call