mocks

package
v1.61.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: AGPL-3.0 Imports: 5 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 MockOrderExecutorExtended

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

MockOrderExecutorExtended is a mock of OrderExecutorExtended interface.

func NewMockOrderExecutorExtended

func NewMockOrderExecutorExtended(ctrl *gomock.Controller) *MockOrderExecutorExtended

NewMockOrderExecutorExtended creates a new mock instance.

func (*MockOrderExecutorExtended) CancelOrders

func (m *MockOrderExecutorExtended) CancelOrders(arg0 context.Context, arg1 ...types.Order) error

CancelOrders mocks base method.

func (*MockOrderExecutorExtended) EXPECT

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

func (*MockOrderExecutorExtended) Position

func (m *MockOrderExecutorExtended) Position() *types.Position

Position mocks base method.

func (*MockOrderExecutorExtended) SubmitOrders

func (m *MockOrderExecutorExtended) SubmitOrders(arg0 context.Context, arg1 ...types.SubmitOrder) (types.OrderSlice, error)

SubmitOrders mocks base method.

func (*MockOrderExecutorExtended) TradeCollector

func (m *MockOrderExecutorExtended) TradeCollector() *core.TradeCollector

TradeCollector mocks base method.

type MockOrderExecutorExtendedMockRecorder

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

MockOrderExecutorExtendedMockRecorder is the mock recorder for MockOrderExecutorExtended.

func (*MockOrderExecutorExtendedMockRecorder) CancelOrders

func (mr *MockOrderExecutorExtendedMockRecorder) CancelOrders(arg0 any, arg1 ...any) *gomock.Call

CancelOrders indicates an expected call of CancelOrders.

func (*MockOrderExecutorExtendedMockRecorder) Position

Position indicates an expected call of Position.

func (*MockOrderExecutorExtendedMockRecorder) SubmitOrders

func (mr *MockOrderExecutorExtendedMockRecorder) SubmitOrders(arg0 any, arg1 ...any) *gomock.Call

SubmitOrders indicates an expected call of SubmitOrders.

func (*MockOrderExecutorExtendedMockRecorder) TradeCollector

func (mr *MockOrderExecutorExtendedMockRecorder) TradeCollector() *gomock.Call

TradeCollector indicates an expected call of TradeCollector.

Jump to

Keyboard shortcuts

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