Documentation ¶
Overview ¶
Package mock_thirdparty is a generated GoMock package.
Index ¶
- type MockDecoderProvider
- type MockDecoderProviderMockRecorder
- type MockMarketDataProvider
- func (m *MockMarketDataProvider) EXPECT() *MockMarketDataProviderMockRecorder
- func (m *MockMarketDataProvider) FetchHistoricalDailyPrices(symbol, currency string, limit int, allData bool, aggregate int) ([]thirdparty.HistoricalPrice, error)
- func (m *MockMarketDataProvider) FetchHistoricalHourlyPrices(symbol, currency string, limit, aggregate int) ([]thirdparty.HistoricalPrice, error)
- func (m *MockMarketDataProvider) FetchPrices(symbols, currencies []string) (map[string]map[string]float64, error)
- func (m *MockMarketDataProvider) FetchTokenDetails(symbols []string) (map[string]thirdparty.TokenDetails, error)
- func (m *MockMarketDataProvider) FetchTokenMarketValues(symbols []string, currency string) (map[string]thirdparty.TokenMarketValues, error)
- func (m *MockMarketDataProvider) ID() string
- type MockMarketDataProviderMockRecorder
- func (mr *MockMarketDataProviderMockRecorder) FetchHistoricalDailyPrices(symbol, currency, limit, allData, aggregate interface{}) *gomock.Call
- func (mr *MockMarketDataProviderMockRecorder) FetchHistoricalHourlyPrices(symbol, currency, limit, aggregate interface{}) *gomock.Call
- func (mr *MockMarketDataProviderMockRecorder) FetchPrices(symbols, currencies interface{}) *gomock.Call
- func (mr *MockMarketDataProviderMockRecorder) FetchTokenDetails(symbols interface{}) *gomock.Call
- func (mr *MockMarketDataProviderMockRecorder) FetchTokenMarketValues(symbols, currency interface{}) *gomock.Call
- func (mr *MockMarketDataProviderMockRecorder) ID() *gomock.Call
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 ¶
func (m *MockDecoderProvider) EXPECT() *MockDecoderProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDecoderProvider) Run ¶
func (m *MockDecoderProvider) Run(data string) (*thirdparty.DataParsed, error)
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 ¶
func (m *MockMarketDataProvider) EXPECT() *MockMarketDataProviderMockRecorder
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 ¶
func (m *MockMarketDataProvider) ID() string
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 ¶
func (mr *MockMarketDataProviderMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.