mock_router

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 3 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, arg1 []conn.ReadMeta) (int, error)

ReadBatch mocks base method

func (*MockBatchConn) WriteBatch

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

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, arg1 interface{}) *gomock.Call

ReadBatch indicates an expected call of ReadBatch

func (*MockBatchConnMockRecorder) WriteBatch

func (mr *MockBatchConnMockRecorder) WriteBatch(arg0 interface{}) *gomock.Call

WriteBatch indicates an expected call of WriteBatch

Jump to

Keyboard shortcuts

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