mock

package
v0.0.0-...-388d6c9 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRealTimeConnector

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

MockRealTimeConnector is a mock of RealTimeConnector interface.

func NewMockRealTimeConnector

func NewMockRealTimeConnector(ctrl *gomock.Controller) *MockRealTimeConnector

NewMockRealTimeConnector creates a new mock instance.

func (*MockRealTimeConnector) Close

func (m *MockRealTimeConnector) Close() error

Close mocks base method.

func (*MockRealTimeConnector) EXPECT

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

func (*MockRealTimeConnector) NewConsumer

func (m *MockRealTimeConnector) NewConsumer(topic, group string, batchSize int, fn types0.HandleMessage) error

NewConsumer mocks base method.

func (*MockRealTimeConnector) Produce

func (m *MockRealTimeConnector) Produce(ctx context.Context, msg *types.Message) error

Produce mocks base method.

type MockRealTimeConnectorMockRecorder

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

MockRealTimeConnectorMockRecorder is the mock recorder for MockRealTimeConnector.

func (*MockRealTimeConnectorMockRecorder) Close

Close indicates an expected call of Close.

func (*MockRealTimeConnectorMockRecorder) NewConsumer

func (mr *MockRealTimeConnectorMockRecorder) NewConsumer(topic, group, batchSize, fn interface{}) *gomock.Call

NewConsumer indicates an expected call of NewConsumer.

func (*MockRealTimeConnectorMockRecorder) Produce

func (mr *MockRealTimeConnectorMockRecorder) Produce(ctx, msg interface{}) *gomock.Call

Produce indicates an expected call of Produce.

Jump to

Keyboard shortcuts

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