common

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ThrottlerStub added in v1.9.0

type ThrottlerStub struct {
	CanProcessCalled      func() bool
	StartProcessingCalled func()
	EndProcessingCalled   func()
	StartWasCalled        bool
	EndWasCalled          bool
}

ThrottlerStub -

func (*ThrottlerStub) CanProcess added in v1.9.0

func (ts *ThrottlerStub) CanProcess() bool

CanProcess -

func (*ThrottlerStub) EndProcessing added in v1.9.0

func (ts *ThrottlerStub) EndProcessing()

EndProcessing -

func (*ThrottlerStub) IsInterfaceNil added in v1.9.0

func (ts *ThrottlerStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*ThrottlerStub) StartProcessing added in v1.9.0

func (ts *ThrottlerStub) StartProcessing()

StartProcessing -

type TxExecutionOrderHandlerStub

type TxExecutionOrderHandlerStub struct {
	AddCalled            func(txHash []byte)
	GetItemAtIndexCalled func(index uint32) ([]byte, error)
	GetOrderCalled       func(txHash []byte) (int, error)
	RemoveCalled         func(txHash []byte)
	RemoveMultipleCalled func(txHashes [][]byte)
	GetItemsCalled       func() [][]byte
	ContainsCalled       func(txHash []byte) bool
	ClearCalled          func()
	LenCalled            func() int
}

TxExecutionOrderHandlerStub -

func (*TxExecutionOrderHandlerStub) Add

func (teohs *TxExecutionOrderHandlerStub) Add(txHash []byte)

Add -

func (*TxExecutionOrderHandlerStub) Clear

func (teohs *TxExecutionOrderHandlerStub) Clear()

Clear -

func (*TxExecutionOrderHandlerStub) Contains

func (teohs *TxExecutionOrderHandlerStub) Contains(txHash []byte) bool

Contains -

func (*TxExecutionOrderHandlerStub) GetItemAtIndex

func (teohs *TxExecutionOrderHandlerStub) GetItemAtIndex(index uint32) ([]byte, error)

GetItemAtIndex -

func (*TxExecutionOrderHandlerStub) GetItems

func (teohs *TxExecutionOrderHandlerStub) GetItems() [][]byte

GetItems -

func (*TxExecutionOrderHandlerStub) GetOrder

func (teohs *TxExecutionOrderHandlerStub) GetOrder(txHash []byte) (int, error)

GetOrder -

func (*TxExecutionOrderHandlerStub) IsInterfaceNil

func (teohs *TxExecutionOrderHandlerStub) IsInterfaceNil() bool

IsInterfaceNil -

func (*TxExecutionOrderHandlerStub) Len

func (teohs *TxExecutionOrderHandlerStub) Len() int

Len -

func (*TxExecutionOrderHandlerStub) Remove

func (teohs *TxExecutionOrderHandlerStub) Remove(txHash []byte)

Remove -

func (*TxExecutionOrderHandlerStub) RemoveMultiple

func (teohs *TxExecutionOrderHandlerStub) RemoveMultiple(txHashes [][]byte)

RemoveMultiple -

Jump to

Keyboard shortcuts

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