mocks

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProducer

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

MockProducer is a mock of Producer interface.

func NewMockProducer

func NewMockProducer(ctrl *gomock.Controller) *MockProducer

NewMockProducer creates a new mock instance.

func (*MockProducer) Confirmed

func (m *MockProducer) Confirmed(msg *status.ConfirmedMsg)

Confirmed mocks base method.

func (*MockProducer) EXPECT

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

func (*MockProducer) Failed

func (m *MockProducer) Failed(msg *status.FailedMsg)

Failed mocks base method.

func (*MockProducer) Mined

func (m *MockProducer) Mined(msg *status.MinedMsg)

Mined mocks base method.

func (*MockProducer) Submitted

func (m *MockProducer) Submitted(msg *status.SubmittedMsg)

Submitted mocks base method.

type MockProducerMockRecorder

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

MockProducerMockRecorder is the mock recorder for MockProducer.

func (*MockProducerMockRecorder) Confirmed

func (mr *MockProducerMockRecorder) Confirmed(msg any) *gomock.Call

Confirmed indicates an expected call of Confirmed.

func (*MockProducerMockRecorder) Failed

func (mr *MockProducerMockRecorder) Failed(msg any) *gomock.Call

Failed indicates an expected call of Failed.

func (*MockProducerMockRecorder) Mined

func (mr *MockProducerMockRecorder) Mined(msg any) *gomock.Call

Mined indicates an expected call of Mined.

func (*MockProducerMockRecorder) Submitted

func (mr *MockProducerMockRecorder) Submitted(msg any) *gomock.Call

Submitted indicates an expected call of Submitted.

Jump to

Keyboard shortcuts

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