mocks

package
v0.75.4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 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 MockCandleStore

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

MockCandleStore is a mock of CandleStore interface.

func NewMockCandleStore

func NewMockCandleStore(ctrl *gomock.Controller) *MockCandleStore

NewMockCandleStore creates a new mock instance.

func (*MockCandleStore) CandleExists

func (m *MockCandleStore) CandleExists(arg0 context.Context, arg1 string) (bool, error)

CandleExists mocks base method.

func (*MockCandleStore) EXPECT

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

func (*MockCandleStore) GetCandleDataForTimeSpan

func (m *MockCandleStore) GetCandleDataForTimeSpan(arg0 context.Context, arg1 string, arg2, arg3 *time.Time, arg4 entities.CursorPagination) ([]entities.Candle, entities.PageInfo, error)

GetCandleDataForTimeSpan mocks base method.

func (*MockCandleStore) GetCandleIDForIntervalAndMarket added in v0.55.0

func (m *MockCandleStore) GetCandleIDForIntervalAndMarket(arg0 context.Context, arg1, arg2 string) (bool, string, error)

GetCandleIDForIntervalAndMarket mocks base method.

func (*MockCandleStore) GetCandlesForMarket

func (m *MockCandleStore) GetCandlesForMarket(arg0 context.Context, arg1 string) (map[string]string, error)

GetCandlesForMarket mocks base method.

type MockCandleStoreMockRecorder

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

MockCandleStoreMockRecorder is the mock recorder for MockCandleStore.

func (*MockCandleStoreMockRecorder) CandleExists

func (mr *MockCandleStoreMockRecorder) CandleExists(arg0, arg1 interface{}) *gomock.Call

CandleExists indicates an expected call of CandleExists.

func (*MockCandleStoreMockRecorder) GetCandleDataForTimeSpan

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

GetCandleDataForTimeSpan indicates an expected call of GetCandleDataForTimeSpan.

func (*MockCandleStoreMockRecorder) GetCandleIDForIntervalAndMarket added in v0.55.0

func (mr *MockCandleStoreMockRecorder) GetCandleIDForIntervalAndMarket(arg0, arg1, arg2 interface{}) *gomock.Call

GetCandleIDForIntervalAndMarket indicates an expected call of GetCandleIDForIntervalAndMarket.

func (*MockCandleStoreMockRecorder) GetCandlesForMarket

func (mr *MockCandleStoreMockRecorder) GetCandlesForMarket(arg0, arg1 interface{}) *gomock.Call

GetCandlesForMarket indicates an expected call of GetCandlesForMarket.

Jump to

Keyboard shortcuts

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