mock_router

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_router is a generated GoMock package.

Index

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) Close

func (m *MockBatchConn) Close() error

Close mocks base method.

func (*MockBatchConn) EXPECT

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

func (m *MockBatchConn) WriteBatch(arg0 conn.Messages, arg1 int) (int, error)

WriteBatch mocks base method.

func (*MockBatchConn) WriteTo

func (m *MockBatchConn) WriteTo(arg0 []byte, arg1 *net.UDPAddr) (int, error)

WriteTo 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

func (mr *MockBatchConnMockRecorder) WriteTo(arg0, arg1 interface{}) *gomock.Call

WriteTo indicates an expected call of WriteTo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL