mocks

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 9 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbigenContract

type AbigenContract struct {
	mock.Mock
}

AbigenContract is an autogenerated mock type for the AbigenContract type

func NewAbigenContract

func NewAbigenContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *AbigenContract

NewAbigenContract creates a new instance of AbigenContract. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AbigenContract) Address

func (_m *AbigenContract) Address() common.Address

Address provides a mock function with given fields:

func (*AbigenContract) EXPECT added in v2.13.1

func (*AbigenContract) ParseLog

func (_m *AbigenContract) ParseLog(_a0 types.Log) (generated.AbigenLog, error)

ParseLog provides a mock function with given fields: _a0

type AbigenContract_Address_Call added in v2.13.1

type AbigenContract_Address_Call struct {
	*mock.Call
}

AbigenContract_Address_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Address'

func (*AbigenContract_Address_Call) Return added in v2.13.1

func (*AbigenContract_Address_Call) Run added in v2.13.1

func (*AbigenContract_Address_Call) RunAndReturn added in v2.13.1

type AbigenContract_Expecter added in v2.13.1

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

func (*AbigenContract_Expecter) Address added in v2.13.1

Address is a helper method to define mock.On call

func (*AbigenContract_Expecter) ParseLog added in v2.13.1

func (_e *AbigenContract_Expecter) ParseLog(_a0 interface{}) *AbigenContract_ParseLog_Call

ParseLog is a helper method to define mock.On call

  • _a0 types.Log

type AbigenContract_ParseLog_Call added in v2.13.1

type AbigenContract_ParseLog_Call struct {
	*mock.Call
}

AbigenContract_ParseLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParseLog'

func (*AbigenContract_ParseLog_Call) Return added in v2.13.1

func (*AbigenContract_ParseLog_Call) Run added in v2.13.1

func (*AbigenContract_ParseLog_Call) RunAndReturn added in v2.13.1

type Broadcast

type Broadcast struct {
	mock.Mock
}

Broadcast is an autogenerated mock type for the Broadcast type

func NewBroadcast

func NewBroadcast(t interface {
	mock.TestingT
	Cleanup(func())
}) *Broadcast

NewBroadcast creates a new instance of Broadcast. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Broadcast) DecodedLog

func (_m *Broadcast) DecodedLog() interface{}

DecodedLog provides a mock function with given fields:

func (*Broadcast) EVMChainID

func (_m *Broadcast) EVMChainID() big.Int

EVMChainID provides a mock function with given fields:

func (*Broadcast) EXPECT added in v2.13.1

func (_m *Broadcast) EXPECT() *Broadcast_Expecter

func (*Broadcast) JobID

func (_m *Broadcast) JobID() int32

JobID provides a mock function with given fields:

func (*Broadcast) LatestBlockHash

func (_m *Broadcast) LatestBlockHash() common.Hash

LatestBlockHash provides a mock function with given fields:

func (*Broadcast) LatestBlockNumber

func (_m *Broadcast) LatestBlockNumber() uint64

LatestBlockNumber provides a mock function with given fields:

func (*Broadcast) RawLog

func (_m *Broadcast) RawLog() types.Log

RawLog provides a mock function with given fields:

func (*Broadcast) ReceiptsRoot

func (_m *Broadcast) ReceiptsRoot() common.Hash

ReceiptsRoot provides a mock function with given fields:

func (*Broadcast) StateRoot

func (_m *Broadcast) StateRoot() common.Hash

StateRoot provides a mock function with given fields:

func (*Broadcast) String

func (_m *Broadcast) String() string

String provides a mock function with given fields:

func (*Broadcast) TransactionsRoot

func (_m *Broadcast) TransactionsRoot() common.Hash

TransactionsRoot provides a mock function with given fields:

type Broadcast_DecodedLog_Call added in v2.13.1

type Broadcast_DecodedLog_Call struct {
	*mock.Call
}

Broadcast_DecodedLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecodedLog'

func (*Broadcast_DecodedLog_Call) Return added in v2.13.1

func (_c *Broadcast_DecodedLog_Call) Return(_a0 interface{}) *Broadcast_DecodedLog_Call

func (*Broadcast_DecodedLog_Call) Run added in v2.13.1

func (*Broadcast_DecodedLog_Call) RunAndReturn added in v2.13.1

func (_c *Broadcast_DecodedLog_Call) RunAndReturn(run func() interface{}) *Broadcast_DecodedLog_Call

type Broadcast_EVMChainID_Call added in v2.13.1

type Broadcast_EVMChainID_Call struct {
	*mock.Call
}

Broadcast_EVMChainID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EVMChainID'

func (*Broadcast_EVMChainID_Call) Return added in v2.13.1

func (*Broadcast_EVMChainID_Call) Run added in v2.13.1

func (*Broadcast_EVMChainID_Call) RunAndReturn added in v2.13.1

func (_c *Broadcast_EVMChainID_Call) RunAndReturn(run func() big.Int) *Broadcast_EVMChainID_Call

type Broadcast_Expecter added in v2.13.1

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

func (*Broadcast_Expecter) DecodedLog added in v2.13.1

DecodedLog is a helper method to define mock.On call

func (*Broadcast_Expecter) EVMChainID added in v2.13.1

EVMChainID is a helper method to define mock.On call

func (*Broadcast_Expecter) JobID added in v2.13.1

JobID is a helper method to define mock.On call

func (*Broadcast_Expecter) LatestBlockHash added in v2.13.1

func (_e *Broadcast_Expecter) LatestBlockHash() *Broadcast_LatestBlockHash_Call

LatestBlockHash is a helper method to define mock.On call

func (*Broadcast_Expecter) LatestBlockNumber added in v2.13.1

func (_e *Broadcast_Expecter) LatestBlockNumber() *Broadcast_LatestBlockNumber_Call

LatestBlockNumber is a helper method to define mock.On call

func (*Broadcast_Expecter) RawLog added in v2.13.1

RawLog is a helper method to define mock.On call

func (*Broadcast_Expecter) ReceiptsRoot added in v2.13.1

func (_e *Broadcast_Expecter) ReceiptsRoot() *Broadcast_ReceiptsRoot_Call

ReceiptsRoot is a helper method to define mock.On call

func (*Broadcast_Expecter) StateRoot added in v2.13.1

StateRoot is a helper method to define mock.On call

func (*Broadcast_Expecter) String added in v2.13.1

String is a helper method to define mock.On call

func (*Broadcast_Expecter) TransactionsRoot added in v2.13.1

func (_e *Broadcast_Expecter) TransactionsRoot() *Broadcast_TransactionsRoot_Call

TransactionsRoot is a helper method to define mock.On call

type Broadcast_JobID_Call added in v2.13.1

type Broadcast_JobID_Call struct {
	*mock.Call
}

Broadcast_JobID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'JobID'

func (*Broadcast_JobID_Call) Return added in v2.13.1

func (*Broadcast_JobID_Call) Run added in v2.13.1

func (_c *Broadcast_JobID_Call) Run(run func()) *Broadcast_JobID_Call

func (*Broadcast_JobID_Call) RunAndReturn added in v2.13.1

func (_c *Broadcast_JobID_Call) RunAndReturn(run func() int32) *Broadcast_JobID_Call

type Broadcast_LatestBlockHash_Call added in v2.13.1

type Broadcast_LatestBlockHash_Call struct {
	*mock.Call
}

Broadcast_LatestBlockHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestBlockHash'

func (*Broadcast_LatestBlockHash_Call) Return added in v2.13.1

func (*Broadcast_LatestBlockHash_Call) Run added in v2.13.1

func (*Broadcast_LatestBlockHash_Call) RunAndReturn added in v2.13.1

type Broadcast_LatestBlockNumber_Call added in v2.13.1

type Broadcast_LatestBlockNumber_Call struct {
	*mock.Call
}

Broadcast_LatestBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestBlockNumber'

func (*Broadcast_LatestBlockNumber_Call) Return added in v2.13.1

func (*Broadcast_LatestBlockNumber_Call) Run added in v2.13.1

func (*Broadcast_LatestBlockNumber_Call) RunAndReturn added in v2.13.1

type Broadcast_RawLog_Call added in v2.13.1

type Broadcast_RawLog_Call struct {
	*mock.Call
}

Broadcast_RawLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RawLog'

func (*Broadcast_RawLog_Call) Return added in v2.13.1

func (*Broadcast_RawLog_Call) Run added in v2.13.1

func (_c *Broadcast_RawLog_Call) Run(run func()) *Broadcast_RawLog_Call

func (*Broadcast_RawLog_Call) RunAndReturn added in v2.13.1

func (_c *Broadcast_RawLog_Call) RunAndReturn(run func() types.Log) *Broadcast_RawLog_Call

type Broadcast_ReceiptsRoot_Call added in v2.13.1

type Broadcast_ReceiptsRoot_Call struct {
	*mock.Call
}

Broadcast_ReceiptsRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReceiptsRoot'

func (*Broadcast_ReceiptsRoot_Call) Return added in v2.13.1

func (*Broadcast_ReceiptsRoot_Call) Run added in v2.13.1

func (*Broadcast_ReceiptsRoot_Call) RunAndReturn added in v2.13.1

type Broadcast_StateRoot_Call added in v2.13.1

type Broadcast_StateRoot_Call struct {
	*mock.Call
}

Broadcast_StateRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StateRoot'

func (*Broadcast_StateRoot_Call) Return added in v2.13.1

func (*Broadcast_StateRoot_Call) Run added in v2.13.1

func (*Broadcast_StateRoot_Call) RunAndReturn added in v2.13.1

func (_c *Broadcast_StateRoot_Call) RunAndReturn(run func() common.Hash) *Broadcast_StateRoot_Call

type Broadcast_String_Call added in v2.13.1

type Broadcast_String_Call struct {
	*mock.Call
}

Broadcast_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'

func (*Broadcast_String_Call) Return added in v2.13.1

func (*Broadcast_String_Call) Run added in v2.13.1

func (_c *Broadcast_String_Call) Run(run func()) *Broadcast_String_Call

func (*Broadcast_String_Call) RunAndReturn added in v2.13.1

func (_c *Broadcast_String_Call) RunAndReturn(run func() string) *Broadcast_String_Call

type Broadcast_TransactionsRoot_Call added in v2.13.1

type Broadcast_TransactionsRoot_Call struct {
	*mock.Call
}

Broadcast_TransactionsRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionsRoot'

func (*Broadcast_TransactionsRoot_Call) Return added in v2.13.1

func (*Broadcast_TransactionsRoot_Call) Run added in v2.13.1

func (*Broadcast_TransactionsRoot_Call) RunAndReturn added in v2.13.1

type Broadcaster

type Broadcaster struct {
	mock.Mock
}

Broadcaster is an autogenerated mock type for the Broadcaster type

func NewBroadcaster

func NewBroadcaster(t interface {
	mock.TestingT
	Cleanup(func())
}) *Broadcaster

NewBroadcaster creates a new instance of Broadcaster. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Broadcaster) AddDependents

func (_m *Broadcaster) AddDependents(n int)

AddDependents provides a mock function with given fields: n

func (*Broadcaster) AwaitDependents

func (_m *Broadcaster) AwaitDependents() <-chan struct{}

AwaitDependents provides a mock function with given fields:

func (*Broadcaster) Close

func (_m *Broadcaster) Close() error

Close provides a mock function with given fields:

func (*Broadcaster) DependentReady

func (_m *Broadcaster) DependentReady()

DependentReady provides a mock function with given fields:

func (*Broadcaster) EXPECT added in v2.13.1

func (_m *Broadcaster) EXPECT() *Broadcaster_Expecter

func (*Broadcaster) HealthReport

func (_m *Broadcaster) HealthReport() map[string]error

HealthReport provides a mock function with given fields:

func (*Broadcaster) IsConnected

func (_m *Broadcaster) IsConnected() bool

IsConnected provides a mock function with given fields:

func (*Broadcaster) MarkConsumed

func (_m *Broadcaster) MarkConsumed(ctx context.Context, ds sqlutil.DataSource, lb log.Broadcast) error

MarkConsumed provides a mock function with given fields: ctx, ds, lb

func (*Broadcaster) Name

func (_m *Broadcaster) Name() string

Name provides a mock function with given fields:

func (*Broadcaster) OnNewLongestChain

func (_m *Broadcaster) OnNewLongestChain(ctx context.Context, head *types.Head)

OnNewLongestChain provides a mock function with given fields: ctx, head

func (*Broadcaster) Ready

func (_m *Broadcaster) Ready() error

Ready provides a mock function with given fields:

func (*Broadcaster) Register

func (_m *Broadcaster) Register(listener log.Listener, opts log.ListenerOpts) func()

Register provides a mock function with given fields: listener, opts

func (*Broadcaster) ReplayFromBlock

func (_m *Broadcaster) ReplayFromBlock(number int64, forceBroadcast bool)

ReplayFromBlock provides a mock function with given fields: number, forceBroadcast

func (*Broadcaster) Start

func (_m *Broadcaster) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

func (*Broadcaster) WasAlreadyConsumed

func (_m *Broadcaster) WasAlreadyConsumed(ctx context.Context, lb log.Broadcast) (bool, error)

WasAlreadyConsumed provides a mock function with given fields: ctx, lb

type Broadcaster_AddDependents_Call added in v2.13.1

type Broadcaster_AddDependents_Call struct {
	*mock.Call
}

Broadcaster_AddDependents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddDependents'

func (*Broadcaster_AddDependents_Call) Return added in v2.13.1

func (*Broadcaster_AddDependents_Call) Run added in v2.13.1

func (*Broadcaster_AddDependents_Call) RunAndReturn added in v2.13.1

type Broadcaster_AwaitDependents_Call added in v2.13.1

type Broadcaster_AwaitDependents_Call struct {
	*mock.Call
}

Broadcaster_AwaitDependents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AwaitDependents'

func (*Broadcaster_AwaitDependents_Call) Return added in v2.13.1

func (_c *Broadcaster_AwaitDependents_Call) Return(_a0 <-chan struct{}) *Broadcaster_AwaitDependents_Call

func (*Broadcaster_AwaitDependents_Call) Run added in v2.13.1

func (*Broadcaster_AwaitDependents_Call) RunAndReturn added in v2.13.1

func (_c *Broadcaster_AwaitDependents_Call) RunAndReturn(run func() <-chan struct{}) *Broadcaster_AwaitDependents_Call

type Broadcaster_Close_Call added in v2.13.1

type Broadcaster_Close_Call struct {
	*mock.Call
}

Broadcaster_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*Broadcaster_Close_Call) Return added in v2.13.1

func (*Broadcaster_Close_Call) Run added in v2.13.1

func (_c *Broadcaster_Close_Call) Run(run func()) *Broadcaster_Close_Call

func (*Broadcaster_Close_Call) RunAndReturn added in v2.13.1

func (_c *Broadcaster_Close_Call) RunAndReturn(run func() error) *Broadcaster_Close_Call

type Broadcaster_DependentReady_Call added in v2.13.1

type Broadcaster_DependentReady_Call struct {
	*mock.Call
}

Broadcaster_DependentReady_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DependentReady'

func (*Broadcaster_DependentReady_Call) Return added in v2.13.1

func (*Broadcaster_DependentReady_Call) Run added in v2.13.1

func (*Broadcaster_DependentReady_Call) RunAndReturn added in v2.13.1

type Broadcaster_Expecter added in v2.13.1

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

func (*Broadcaster_Expecter) AddDependents added in v2.13.1

func (_e *Broadcaster_Expecter) AddDependents(n interface{}) *Broadcaster_AddDependents_Call

AddDependents is a helper method to define mock.On call

  • n int

func (*Broadcaster_Expecter) AwaitDependents added in v2.13.1

AwaitDependents is a helper method to define mock.On call

func (*Broadcaster_Expecter) Close added in v2.13.1

Close is a helper method to define mock.On call

func (*Broadcaster_Expecter) DependentReady added in v2.13.1

DependentReady is a helper method to define mock.On call

func (*Broadcaster_Expecter) HealthReport added in v2.13.1

HealthReport is a helper method to define mock.On call

func (*Broadcaster_Expecter) IsConnected added in v2.13.1

IsConnected is a helper method to define mock.On call

func (*Broadcaster_Expecter) MarkConsumed added in v2.13.1

func (_e *Broadcaster_Expecter) MarkConsumed(ctx interface{}, ds interface{}, lb interface{}) *Broadcaster_MarkConsumed_Call

MarkConsumed is a helper method to define mock.On call

  • ctx context.Context
  • ds sqlutil.DataSource
  • lb log.Broadcast

func (*Broadcaster_Expecter) Name added in v2.13.1

Name is a helper method to define mock.On call

func (*Broadcaster_Expecter) OnNewLongestChain added in v2.13.1

func (_e *Broadcaster_Expecter) OnNewLongestChain(ctx interface{}, head interface{}) *Broadcaster_OnNewLongestChain_Call

OnNewLongestChain is a helper method to define mock.On call

  • ctx context.Context
  • head *types.Head

func (*Broadcaster_Expecter) Ready added in v2.13.1

Ready is a helper method to define mock.On call

func (*Broadcaster_Expecter) Register added in v2.13.1

func (_e *Broadcaster_Expecter) Register(listener interface{}, opts interface{}) *Broadcaster_Register_Call

Register is a helper method to define mock.On call

  • listener log.Listener
  • opts log.ListenerOpts

func (*Broadcaster_Expecter) ReplayFromBlock added in v2.13.1

func (_e *Broadcaster_Expecter) ReplayFromBlock(number interface{}, forceBroadcast interface{}) *Broadcaster_ReplayFromBlock_Call

ReplayFromBlock is a helper method to define mock.On call

  • number int64
  • forceBroadcast bool

func (*Broadcaster_Expecter) Start added in v2.13.1

func (_e *Broadcaster_Expecter) Start(_a0 interface{}) *Broadcaster_Start_Call

Start is a helper method to define mock.On call

  • _a0 context.Context

func (*Broadcaster_Expecter) WasAlreadyConsumed added in v2.13.1

func (_e *Broadcaster_Expecter) WasAlreadyConsumed(ctx interface{}, lb interface{}) *Broadcaster_WasAlreadyConsumed_Call

WasAlreadyConsumed is a helper method to define mock.On call

  • ctx context.Context
  • lb log.Broadcast

type Broadcaster_HealthReport_Call added in v2.13.1

type Broadcaster_HealthReport_Call struct {
	*mock.Call
}

Broadcaster_HealthReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthReport'

func (*Broadcaster_HealthReport_Call) Return added in v2.13.1

func (*Broadcaster_HealthReport_Call) Run added in v2.13.1

func (*Broadcaster_HealthReport_Call) RunAndReturn added in v2.13.1

func (_c *Broadcaster_HealthReport_Call) RunAndReturn(run func() map[string]error) *Broadcaster_HealthReport_Call

type Broadcaster_IsConnected_Call added in v2.13.1

type Broadcaster_IsConnected_Call struct {
	*mock.Call
}

Broadcaster_IsConnected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsConnected'

func (*Broadcaster_IsConnected_Call) Return added in v2.13.1

func (*Broadcaster_IsConnected_Call) Run added in v2.13.1

func (*Broadcaster_IsConnected_Call) RunAndReturn added in v2.13.1

func (_c *Broadcaster_IsConnected_Call) RunAndReturn(run func() bool) *Broadcaster_IsConnected_Call

type Broadcaster_MarkConsumed_Call added in v2.13.1

type Broadcaster_MarkConsumed_Call struct {
	*mock.Call
}

Broadcaster_MarkConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkConsumed'

func (*Broadcaster_MarkConsumed_Call) Return added in v2.13.1

func (*Broadcaster_MarkConsumed_Call) Run added in v2.13.1

func (*Broadcaster_MarkConsumed_Call) RunAndReturn added in v2.13.1

type Broadcaster_Name_Call added in v2.13.1

type Broadcaster_Name_Call struct {
	*mock.Call
}

Broadcaster_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'

func (*Broadcaster_Name_Call) Return added in v2.13.1

func (*Broadcaster_Name_Call) Run added in v2.13.1

func (_c *Broadcaster_Name_Call) Run(run func()) *Broadcaster_Name_Call

func (*Broadcaster_Name_Call) RunAndReturn added in v2.13.1

func (_c *Broadcaster_Name_Call) RunAndReturn(run func() string) *Broadcaster_Name_Call

type Broadcaster_OnNewLongestChain_Call added in v2.13.1

type Broadcaster_OnNewLongestChain_Call struct {
	*mock.Call
}

Broadcaster_OnNewLongestChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnNewLongestChain'

func (*Broadcaster_OnNewLongestChain_Call) Return added in v2.13.1

func (*Broadcaster_OnNewLongestChain_Call) Run added in v2.13.1

func (*Broadcaster_OnNewLongestChain_Call) RunAndReturn added in v2.13.1

type Broadcaster_Ready_Call added in v2.13.1

type Broadcaster_Ready_Call struct {
	*mock.Call
}

Broadcaster_Ready_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ready'

func (*Broadcaster_Ready_Call) Return added in v2.13.1

func (*Broadcaster_Ready_Call) Run added in v2.13.1

func (_c *Broadcaster_Ready_Call) Run(run func()) *Broadcaster_Ready_Call

func (*Broadcaster_Ready_Call) RunAndReturn added in v2.13.1

func (_c *Broadcaster_Ready_Call) RunAndReturn(run func() error) *Broadcaster_Ready_Call

type Broadcaster_Register_Call added in v2.13.1

type Broadcaster_Register_Call struct {
	*mock.Call
}

Broadcaster_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'

func (*Broadcaster_Register_Call) Return added in v2.13.1

func (_c *Broadcaster_Register_Call) Return(unsubscribe func()) *Broadcaster_Register_Call

func (*Broadcaster_Register_Call) Run added in v2.13.1

func (*Broadcaster_Register_Call) RunAndReturn added in v2.13.1

func (_c *Broadcaster_Register_Call) RunAndReturn(run func(log.Listener, log.ListenerOpts) func()) *Broadcaster_Register_Call

type Broadcaster_ReplayFromBlock_Call added in v2.13.1

type Broadcaster_ReplayFromBlock_Call struct {
	*mock.Call
}

Broadcaster_ReplayFromBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReplayFromBlock'

func (*Broadcaster_ReplayFromBlock_Call) Return added in v2.13.1

func (*Broadcaster_ReplayFromBlock_Call) Run added in v2.13.1

func (_c *Broadcaster_ReplayFromBlock_Call) Run(run func(number int64, forceBroadcast bool)) *Broadcaster_ReplayFromBlock_Call

func (*Broadcaster_ReplayFromBlock_Call) RunAndReturn added in v2.13.1

type Broadcaster_Start_Call added in v2.13.1

type Broadcaster_Start_Call struct {
	*mock.Call
}

Broadcaster_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*Broadcaster_Start_Call) Return added in v2.13.1

func (*Broadcaster_Start_Call) Run added in v2.13.1

func (*Broadcaster_Start_Call) RunAndReturn added in v2.13.1

func (_c *Broadcaster_Start_Call) RunAndReturn(run func(context.Context) error) *Broadcaster_Start_Call

type Broadcaster_WasAlreadyConsumed_Call added in v2.13.1

type Broadcaster_WasAlreadyConsumed_Call struct {
	*mock.Call
}

Broadcaster_WasAlreadyConsumed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WasAlreadyConsumed'

func (*Broadcaster_WasAlreadyConsumed_Call) Return added in v2.13.1

func (*Broadcaster_WasAlreadyConsumed_Call) Run added in v2.13.1

func (*Broadcaster_WasAlreadyConsumed_Call) RunAndReturn added in v2.13.1

Jump to

Keyboard shortcuts

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