Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + type MockConn struct + func NewMockConn(ctrl *gomock.Controller) *MockConn + func (m *MockConn) Close() error + func (m *MockConn) EXPECT() *MockConnMockRecorder + func (m *MockConn) LocalAddr() *overlay.OverlayAddr + func (m *MockConn) Read(arg0 common.RawBytes) (int, *conn.ReadMeta, error) + func (m *MockConn) ReadBatch(arg0 conn.Messages, arg1 []conn.ReadMeta) (int, error) + func (m *MockConn) RemoteAddr() *overlay.OverlayAddr + 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 common.RawBytes) (int, error) + func (m *MockConn) WriteBatch(arg0 conn.Messages) (int, error) + func (m *MockConn) WriteTo(arg0 common.RawBytes, arg1 *overlay.OverlayAddr) (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) ReadBatch(arg0, arg1 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 + func (mr *MockConnMockRecorder) WriteBatch(arg0 interface{}) *gomock.Call + func (mr *MockConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call