Documentation ¶
Overview ¶
Package mock_router is a generated GoMock package.
Index ¶
- type MockBatchConn
- func (m *MockBatchConn) Close() error
- func (m *MockBatchConn) EXPECT() *MockBatchConnMockRecorder
- func (m *MockBatchConn) ReadBatch(arg0 conn.Messages) (int, error)
- func (m *MockBatchConn) WriteBatch(arg0 conn.Messages, arg1 int) (int, error)
- func (m *MockBatchConn) WriteTo(arg0 []byte, arg1 *net.UDPAddr) (int, error)
- type MockBatchConnMockRecorder
- func (mr *MockBatchConnMockRecorder) Close() *gomock.Call
- func (mr *MockBatchConnMockRecorder) ReadBatch(arg0 interface{}) *gomock.Call
- func (mr *MockBatchConnMockRecorder) WriteBatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBatchConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBatchConn ¶
type MockBatchConn struct {
// contains filtered or unexported fields
}
MockBatchConn is a mock of BatchConn interface.
func NewMockBatchConn ¶
func NewMockBatchConn(ctrl *gomock.Controller) *MockBatchConn
NewMockBatchConn creates a new mock instance.
func (*MockBatchConn) EXPECT ¶
func (m *MockBatchConn) EXPECT() *MockBatchConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBatchConn) ReadBatch ¶
func (m *MockBatchConn) ReadBatch(arg0 conn.Messages) (int, error)
ReadBatch mocks base method.
func (*MockBatchConn) WriteBatch ¶
WriteBatch mocks base method.
type MockBatchConnMockRecorder ¶
type MockBatchConnMockRecorder struct {
// contains filtered or unexported fields
}
MockBatchConnMockRecorder is the mock recorder for MockBatchConn.
func (*MockBatchConnMockRecorder) Close ¶
func (mr *MockBatchConnMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockBatchConnMockRecorder) ReadBatch ¶
func (mr *MockBatchConnMockRecorder) ReadBatch(arg0 interface{}) *gomock.Call
ReadBatch indicates an expected call of ReadBatch.
func (*MockBatchConnMockRecorder) WriteBatch ¶
func (mr *MockBatchConnMockRecorder) WriteBatch(arg0, arg1 interface{}) *gomock.Call
WriteBatch indicates an expected call of WriteBatch.
func (*MockBatchConnMockRecorder) WriteTo ¶ added in v0.7.0
func (mr *MockBatchConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call
WriteTo indicates an expected call of WriteTo.
Click to show internal directories.
Click to hide internal directories.