mock_thirdparty

package
v0.181.34 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_thirdparty is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDecoderProvider

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

MockDecoderProvider is a mock of DecoderProvider interface.

func NewMockDecoderProvider

func NewMockDecoderProvider(ctrl *gomock.Controller) *MockDecoderProvider

NewMockDecoderProvider creates a new mock instance.

func (*MockDecoderProvider) EXPECT

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

func (*MockDecoderProvider) Run

Run mocks base method.

type MockDecoderProviderMockRecorder

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

MockDecoderProviderMockRecorder is the mock recorder for MockDecoderProvider.

func (*MockDecoderProviderMockRecorder) Run

func (mr *MockDecoderProviderMockRecorder) Run(data interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockMarketDataProvider

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

MockMarketDataProvider is a mock of MarketDataProvider interface.

func NewMockMarketDataProvider

func NewMockMarketDataProvider(ctrl *gomock.Controller) *MockMarketDataProvider

NewMockMarketDataProvider creates a new mock instance.

func (*MockMarketDataProvider) EXPECT

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

func (*MockMarketDataProvider) FetchHistoricalDailyPrices

func (m *MockMarketDataProvider) FetchHistoricalDailyPrices(symbol, currency string, limit int, allData bool, aggregate int) ([]thirdparty.HistoricalPrice, error)

FetchHistoricalDailyPrices mocks base method.

func (*MockMarketDataProvider) FetchHistoricalHourlyPrices

func (m *MockMarketDataProvider) FetchHistoricalHourlyPrices(symbol, currency string, limit, aggregate int) ([]thirdparty.HistoricalPrice, error)

FetchHistoricalHourlyPrices mocks base method.

func (*MockMarketDataProvider) FetchPrices

func (m *MockMarketDataProvider) FetchPrices(symbols, currencies []string) (map[string]map[string]float64, error)

FetchPrices mocks base method.

func (*MockMarketDataProvider) FetchTokenDetails

func (m *MockMarketDataProvider) FetchTokenDetails(symbols []string) (map[string]thirdparty.TokenDetails, error)

FetchTokenDetails mocks base method.

func (*MockMarketDataProvider) FetchTokenMarketValues

func (m *MockMarketDataProvider) FetchTokenMarketValues(symbols []string, currency string) (map[string]thirdparty.TokenMarketValues, error)

FetchTokenMarketValues mocks base method.

func (*MockMarketDataProvider) ID

ID mocks base method.

type MockMarketDataProviderMockRecorder

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

MockMarketDataProviderMockRecorder is the mock recorder for MockMarketDataProvider.

func (*MockMarketDataProviderMockRecorder) FetchHistoricalDailyPrices

func (mr *MockMarketDataProviderMockRecorder) FetchHistoricalDailyPrices(symbol, currency, limit, allData, aggregate interface{}) *gomock.Call

FetchHistoricalDailyPrices indicates an expected call of FetchHistoricalDailyPrices.

func (*MockMarketDataProviderMockRecorder) FetchHistoricalHourlyPrices

func (mr *MockMarketDataProviderMockRecorder) FetchHistoricalHourlyPrices(symbol, currency, limit, aggregate interface{}) *gomock.Call

FetchHistoricalHourlyPrices indicates an expected call of FetchHistoricalHourlyPrices.

func (*MockMarketDataProviderMockRecorder) FetchPrices

func (mr *MockMarketDataProviderMockRecorder) FetchPrices(symbols, currencies interface{}) *gomock.Call

FetchPrices indicates an expected call of FetchPrices.

func (*MockMarketDataProviderMockRecorder) FetchTokenDetails

func (mr *MockMarketDataProviderMockRecorder) FetchTokenDetails(symbols interface{}) *gomock.Call

FetchTokenDetails indicates an expected call of FetchTokenDetails.

func (*MockMarketDataProviderMockRecorder) FetchTokenMarketValues

func (mr *MockMarketDataProviderMockRecorder) FetchTokenMarketValues(symbols, currency interface{}) *gomock.Call

FetchTokenMarketValues indicates an expected call of FetchTokenMarketValues.

func (*MockMarketDataProviderMockRecorder) ID

ID indicates an expected call of ID.

Jump to

Keyboard shortcuts

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