mocks

package
v0.0.0-...-cb4139d Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockExchange

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

MockExchange is a mock of Exchange interface.

func NewMockExchange

func NewMockExchange(ctrl *gomock.Controller) *MockExchange

NewMockExchange creates a new mock instance.

func (*MockExchange) CancelOrders

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

CancelOrders mocks base method.

func (*MockExchange) EXPECT

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

func (*MockExchange) Name

func (m *MockExchange) Name() types.ExchangeName

Name mocks base method.

func (*MockExchange) NewStream

func (m *MockExchange) NewStream() types.Stream

NewStream mocks base method.

func (*MockExchange) PlatformFeeCurrency

func (m *MockExchange) PlatformFeeCurrency() string

PlatformFeeCurrency mocks base method.

func (*MockExchange) QueryAccount

func (m *MockExchange) QueryAccount(arg0 context.Context) (*types.Account, error)

QueryAccount mocks base method.

func (*MockExchange) QueryAccountBalances

func (m *MockExchange) QueryAccountBalances(arg0 context.Context) (types.BalanceMap, error)

QueryAccountBalances mocks base method.

func (*MockExchange) QueryKLines

func (m *MockExchange) QueryKLines(arg0 context.Context, arg1 string, arg2 types.Interval, arg3 types.KLineQueryOptions) ([]types.KLine, error)

QueryKLines mocks base method.

func (*MockExchange) QueryMarkets

func (m *MockExchange) QueryMarkets(arg0 context.Context) (types.MarketMap, error)

QueryMarkets mocks base method.

func (*MockExchange) QueryOpenOrders

func (m *MockExchange) QueryOpenOrders(arg0 context.Context, arg1 string) ([]types.Order, error)

QueryOpenOrders mocks base method.

func (*MockExchange) QueryTicker

func (m *MockExchange) QueryTicker(arg0 context.Context, arg1 string) (*types.Ticker, error)

QueryTicker mocks base method.

func (*MockExchange) QueryTickers

func (m *MockExchange) QueryTickers(arg0 context.Context, arg1 ...string) (map[string]types.Ticker, error)

QueryTickers mocks base method.

func (*MockExchange) SubmitOrder

func (m *MockExchange) SubmitOrder(arg0 context.Context, arg1 types.SubmitOrder) (*types.Order, error)

SubmitOrder mocks base method.

type MockExchangeMockRecorder

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

MockExchangeMockRecorder is the mock recorder for MockExchange.

func (*MockExchangeMockRecorder) CancelOrders

func (mr *MockExchangeMockRecorder) CancelOrders(arg0 interface{}, arg1 ...interface{}) *gomock.Call

CancelOrders indicates an expected call of CancelOrders.

func (*MockExchangeMockRecorder) Name

func (mr *MockExchangeMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockExchangeMockRecorder) NewStream

func (mr *MockExchangeMockRecorder) NewStream() *gomock.Call

NewStream indicates an expected call of NewStream.

func (*MockExchangeMockRecorder) PlatformFeeCurrency

func (mr *MockExchangeMockRecorder) PlatformFeeCurrency() *gomock.Call

PlatformFeeCurrency indicates an expected call of PlatformFeeCurrency.

func (*MockExchangeMockRecorder) QueryAccount

func (mr *MockExchangeMockRecorder) QueryAccount(arg0 interface{}) *gomock.Call

QueryAccount indicates an expected call of QueryAccount.

func (*MockExchangeMockRecorder) QueryAccountBalances

func (mr *MockExchangeMockRecorder) QueryAccountBalances(arg0 interface{}) *gomock.Call

QueryAccountBalances indicates an expected call of QueryAccountBalances.

func (*MockExchangeMockRecorder) QueryKLines

func (mr *MockExchangeMockRecorder) QueryKLines(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

QueryKLines indicates an expected call of QueryKLines.

func (*MockExchangeMockRecorder) QueryMarkets

func (mr *MockExchangeMockRecorder) QueryMarkets(arg0 interface{}) *gomock.Call

QueryMarkets indicates an expected call of QueryMarkets.

func (*MockExchangeMockRecorder) QueryOpenOrders

func (mr *MockExchangeMockRecorder) QueryOpenOrders(arg0, arg1 interface{}) *gomock.Call

QueryOpenOrders indicates an expected call of QueryOpenOrders.

func (*MockExchangeMockRecorder) QueryTicker

func (mr *MockExchangeMockRecorder) QueryTicker(arg0, arg1 interface{}) *gomock.Call

QueryTicker indicates an expected call of QueryTicker.

func (*MockExchangeMockRecorder) QueryTickers

func (mr *MockExchangeMockRecorder) QueryTickers(arg0 interface{}, arg1 ...interface{}) *gomock.Call

QueryTickers indicates an expected call of QueryTickers.

func (*MockExchangeMockRecorder) SubmitOrder

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

SubmitOrder indicates an expected call of SubmitOrder.

type MockExchangeOrderQueryService

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

MockExchangeOrderQueryService is a mock of ExchangeOrderQueryService interface.

func NewMockExchangeOrderQueryService

func NewMockExchangeOrderQueryService(ctrl *gomock.Controller) *MockExchangeOrderQueryService

NewMockExchangeOrderQueryService creates a new mock instance.

func (*MockExchangeOrderQueryService) EXPECT

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

func (*MockExchangeOrderQueryService) QueryOrder

QueryOrder mocks base method.

func (*MockExchangeOrderQueryService) QueryOrderTrades

func (m *MockExchangeOrderQueryService) QueryOrderTrades(arg0 context.Context, arg1 types.OrderQuery) ([]types.Trade, error)

QueryOrderTrades mocks base method.

type MockExchangeOrderQueryServiceMockRecorder

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

MockExchangeOrderQueryServiceMockRecorder is the mock recorder for MockExchangeOrderQueryService.

func (*MockExchangeOrderQueryServiceMockRecorder) QueryOrder

func (mr *MockExchangeOrderQueryServiceMockRecorder) QueryOrder(arg0, arg1 interface{}) *gomock.Call

QueryOrder indicates an expected call of QueryOrder.

func (*MockExchangeOrderQueryServiceMockRecorder) QueryOrderTrades

func (mr *MockExchangeOrderQueryServiceMockRecorder) QueryOrderTrades(arg0, arg1 interface{}) *gomock.Call

QueryOrderTrades indicates an expected call of QueryOrderTrades.

type MockExchangeTradeHistoryService

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

MockExchangeTradeHistoryService is a mock of ExchangeTradeHistoryService interface.

func NewMockExchangeTradeHistoryService

func NewMockExchangeTradeHistoryService(ctrl *gomock.Controller) *MockExchangeTradeHistoryService

NewMockExchangeTradeHistoryService creates a new mock instance.

func (*MockExchangeTradeHistoryService) EXPECT

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

func (*MockExchangeTradeHistoryService) QueryClosedOrders

func (m *MockExchangeTradeHistoryService) QueryClosedOrders(arg0 context.Context, arg1 string, arg2, arg3 time.Time, arg4 uint64) ([]types.Order, error)

QueryClosedOrders mocks base method.

func (*MockExchangeTradeHistoryService) QueryTrades

QueryTrades mocks base method.

type MockExchangeTradeHistoryServiceMockRecorder

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

MockExchangeTradeHistoryServiceMockRecorder is the mock recorder for MockExchangeTradeHistoryService.

func (*MockExchangeTradeHistoryServiceMockRecorder) QueryClosedOrders

func (mr *MockExchangeTradeHistoryServiceMockRecorder) QueryClosedOrders(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

QueryClosedOrders indicates an expected call of QueryClosedOrders.

func (*MockExchangeTradeHistoryServiceMockRecorder) QueryTrades

func (mr *MockExchangeTradeHistoryServiceMockRecorder) QueryTrades(arg0, arg1, arg2 interface{}) *gomock.Call

QueryTrades indicates an expected call of QueryTrades.

Jump to

Keyboard shortcuts

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