mock

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 3 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 MockRelayer

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

MockRelayer is a mock of Relayer interface.

func NewMockRelayer

func NewMockRelayer(ctrl *gomock.Controller) *MockRelayer

NewMockRelayer creates a new mock instance.

func (*MockRelayer) EXPECT

func (m *MockRelayer) EXPECT() *MockRelayerMockRecorder

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

func (*MockRelayer) Ping

func (m *MockRelayer) Ping(ctx context.Context) error

Ping mocks base method.

func (*MockRelayer) Start

func (m *MockRelayer) Start(ctx context.Context) error

Start mocks base method.

func (*MockRelayer) Stop

func (m *MockRelayer) Stop() error

Stop mocks base method.

type MockRelayerMockRecorder

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

MockRelayerMockRecorder is the mock recorder for MockRelayer.

func (*MockRelayerMockRecorder) Ping

func (mr *MockRelayerMockRecorder) Ping(ctx any) *gomock.Call

Ping indicates an expected call of Ping.

func (*MockRelayerMockRecorder) Start

func (mr *MockRelayerMockRecorder) Start(ctx any) *gomock.Call

Start indicates an expected call of Start.

func (*MockRelayerMockRecorder) Stop

func (mr *MockRelayerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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