mock_mocks

package
v0.0.0-...-48140c7 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_mock_mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConn

type MockConn struct {
	// contains filtered or unexported fields
}

MockConn is a mock of Conn interface.

func NewMockConn

func NewMockConn(ctrl *gomock.Controller) *MockConn

NewMockConn creates a new mock instance.

func (*MockConn) Close

func (m *MockConn) Close() error

Close mocks base method.

func (*MockConn) Do

func (m *MockConn) Do(commandName string, args ...interface{}) (interface{}, error)

Do mocks base method.

func (*MockConn) EXPECT

func (m *MockConn) EXPECT() *MockConnMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockConn) Err

func (m *MockConn) Err() error

Err mocks base method.

func (*MockConn) Flush

func (m *MockConn) Flush() error

Flush mocks base method.

func (*MockConn) Receive

func (m *MockConn) Receive() (interface{}, error)

Receive mocks base method.

func (*MockConn) Send

func (m *MockConn) Send(commandName string, args ...interface{}) error

Send mocks base method.

type MockConnMockRecorder

type MockConnMockRecorder struct {
	// contains filtered or unexported fields
}

MockConnMockRecorder is the mock recorder for MockConn.

func (*MockConnMockRecorder) Close

func (mr *MockConnMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockConnMockRecorder) Do

func (mr *MockConnMockRecorder) Do(commandName interface{}, args ...interface{}) *gomock.Call

Do indicates an expected call of Do.

func (*MockConnMockRecorder) Err

func (mr *MockConnMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err.

func (*MockConnMockRecorder) Flush

func (mr *MockConnMockRecorder) Flush() *gomock.Call

Flush indicates an expected call of Flush.

func (*MockConnMockRecorder) Receive

func (mr *MockConnMockRecorder) Receive() *gomock.Call

Receive indicates an expected call of Receive.

func (*MockConnMockRecorder) Send

func (mr *MockConnMockRecorder) Send(commandName interface{}, args ...interface{}) *gomock.Call

Send indicates an expected call of Send.

Jump to

Keyboard shortcuts

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