mock_coingecko

package
v0.0.0-...-f003305 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_coingecko is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) FetchCoinList

func (m *MockClient) FetchCoinList(ctx context.Context, includePlatform bool) (*coingecko.CoinListResponse, error)

FetchCoinList mocks base method.

func (*MockClient) FetchCoinMarkets

func (m *MockClient) FetchCoinMarkets(ctx context.Context, vsCurrency string, limit int) (*coingecko.CoinMarketResponse, time.Time, error)

FetchCoinMarkets mocks base method.

func (*MockClient) FetchMarketChart

func (m *MockClient) FetchMarketChart(ctx context.Context, id, vsCurrency string, days float32, cacheDurationSeconds int) (*coingecko.MarketChartResponse, time.Time, error)

FetchMarketChart mocks base method.

func (*MockClient) FetchSimplePrice

func (m *MockClient) FetchSimplePrice(ctx context.Context, ids, vsCurrencies string, include24hrChange bool) (*coingecko.SimplePriceResponse, error)

FetchSimplePrice mocks base method.

func (*MockClient) FetchSupportedVsCurrencies

func (m *MockClient) FetchSupportedVsCurrencies(ctx context.Context) (*coingecko.SupportedVsCurrenciesResponse, error)

FetchSupportedVsCurrencies mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) FetchCoinList

func (mr *MockClientMockRecorder) FetchCoinList(ctx, includePlatform interface{}) *gomock.Call

FetchCoinList indicates an expected call of FetchCoinList.

func (*MockClientMockRecorder) FetchCoinMarkets

func (mr *MockClientMockRecorder) FetchCoinMarkets(ctx, vsCurrency, limit interface{}) *gomock.Call

FetchCoinMarkets indicates an expected call of FetchCoinMarkets.

func (*MockClientMockRecorder) FetchMarketChart

func (mr *MockClientMockRecorder) FetchMarketChart(ctx, id, vsCurrency, days, cacheDurationSeconds interface{}) *gomock.Call

FetchMarketChart indicates an expected call of FetchMarketChart.

func (*MockClientMockRecorder) FetchSimplePrice

func (mr *MockClientMockRecorder) FetchSimplePrice(ctx, ids, vsCurrencies, include24hrChange interface{}) *gomock.Call

FetchSimplePrice indicates an expected call of FetchSimplePrice.

func (*MockClientMockRecorder) FetchSupportedVsCurrencies

func (mr *MockClientMockRecorder) FetchSupportedVsCurrencies(ctx interface{}) *gomock.Call

FetchSupportedVsCurrencies indicates an expected call of FetchSupportedVsCurrencies.

Jump to

Keyboard shortcuts

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