channelx_mock

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package channelx_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEvent

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

MockEvent is a mock of Event interface

func NewMockEvent

func NewMockEvent(ctrl *gomock.Controller) *MockEvent

NewMockEvent creates a new mock instance

func (*MockEvent) EXPECT

func (m *MockEvent) EXPECT() *MockEventMockRecorder

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

func (*MockEvent) ID

func (m *MockEvent) ID() channelx.EventID

ID mocks base method

type MockEventHandler

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

MockEventHandler is a mock of EventHandler interface

func NewMockEventHandler

func NewMockEventHandler(ctrl *gomock.Controller) *MockEventHandler

NewMockEventHandler creates a new mock instance

func (*MockEventHandler) CanAutoRetry

func (m *MockEventHandler) CanAutoRetry(err error) bool

CanAutoRetry mocks base method

func (*MockEventHandler) EXPECT

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

func (*MockEventHandler) Logger

func (m *MockEventHandler) Logger() channelx.Logger

Logger mocks base method

func (*MockEventHandler) OnEvent

func (m *MockEventHandler) OnEvent(ctx context.Context, event channelx.Event) error

OnEvent mocks base method

type MockEventHandlerMockRecorder

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

MockEventHandlerMockRecorder is the mock recorder for MockEventHandler

func (*MockEventHandlerMockRecorder) CanAutoRetry

func (mr *MockEventHandlerMockRecorder) CanAutoRetry(err interface{}) *gomock.Call

CanAutoRetry indicates an expected call of CanAutoRetry

func (*MockEventHandlerMockRecorder) Logger

Logger indicates an expected call of Logger

func (*MockEventHandlerMockRecorder) OnEvent

func (mr *MockEventHandlerMockRecorder) OnEvent(ctx, event interface{}) *gomock.Call

OnEvent indicates an expected call of OnEvent

type MockEventMockRecorder

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

MockEventMockRecorder is the mock recorder for MockEvent

func (*MockEventMockRecorder) ID

func (mr *MockEventMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID

Jump to

Keyboard shortcuts

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