mocks

package
v0.77.9 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

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 MockOffbookSource

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

MockOffbookSource is a mock of OffbookSource interface.

func NewMockOffbookSource

func NewMockOffbookSource(ctrl *gomock.Controller) *MockOffbookSource

NewMockOffbookSource creates a new mock instance.

func (*MockOffbookSource) BestPricesAndVolumes

func (m *MockOffbookSource) BestPricesAndVolumes() (*num.Uint, uint64, *num.Uint, uint64)

BestPricesAndVolumes mocks base method.

func (*MockOffbookSource) EXPECT

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

func (*MockOffbookSource) NotifyFinished

func (m *MockOffbookSource) NotifyFinished()

NotifyFinished mocks base method.

func (*MockOffbookSource) OrderbookShape

func (m *MockOffbookSource) OrderbookShape(arg0, arg1 *num.Uint, arg2 *string) ([]*types.Order, []*types.Order)

OrderbookShape mocks base method.

func (*MockOffbookSource) SubmitOrder

func (m *MockOffbookSource) SubmitOrder(arg0 *types.Order, arg1, arg2 *num.Uint) []*types.Order

SubmitOrder mocks base method.

type MockOffbookSourceMockRecorder

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

MockOffbookSourceMockRecorder is the mock recorder for MockOffbookSource.

func (*MockOffbookSourceMockRecorder) BestPricesAndVolumes

func (mr *MockOffbookSourceMockRecorder) BestPricesAndVolumes() *gomock.Call

BestPricesAndVolumes indicates an expected call of BestPricesAndVolumes.

func (*MockOffbookSourceMockRecorder) NotifyFinished

func (mr *MockOffbookSourceMockRecorder) NotifyFinished() *gomock.Call

NotifyFinished indicates an expected call of NotifyFinished.

func (*MockOffbookSourceMockRecorder) OrderbookShape

func (mr *MockOffbookSourceMockRecorder) OrderbookShape(arg0, arg1, arg2 interface{}) *gomock.Call

OrderbookShape indicates an expected call of OrderbookShape.

func (*MockOffbookSourceMockRecorder) SubmitOrder

func (mr *MockOffbookSourceMockRecorder) SubmitOrder(arg0, arg1, arg2 interface{}) *gomock.Call

SubmitOrder indicates an expected call of SubmitOrder.

Jump to

Keyboard shortcuts

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