mockclient

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Unlicense Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: client.go

Generated by this command:

mockgen -source=client.go -package=mockclient -destination=testings/mock_client/mockclient.go

Package mockclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Produce

func (m *MockClient) Produce(arg0 message.Message) error

Produce mocks base method.

func (*MockClient) RegisterConsumerHandler

func (m *MockClient) RegisterConsumerHandler(arg0 consumer.Topic) error

RegisterConsumerHandler mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Produce

func (mr *MockClientMockRecorder) Produce(arg0 any) *gomock.Call

Produce indicates an expected call of Produce.

func (*MockClientMockRecorder) RegisterConsumerHandler

func (mr *MockClientMockRecorder) RegisterConsumerHandler(arg0 any) *gomock.Call

RegisterConsumerHandler indicates an expected call of RegisterConsumerHandler.

Jump to

Keyboard shortcuts

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