Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCandleStore
- func (m *MockCandleStore) CandleExists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockCandleStore) EXPECT() *MockCandleStoreMockRecorder
- func (m *MockCandleStore) GetCandleDataForTimeSpan(arg0 context.Context, arg1 string, arg2, arg3 *time.Time, ...) ([]entities.Candle, entities.PageInfo, error)
- func (m *MockCandleStore) GetCandleIDForIntervalAndMarket(arg0 context.Context, arg1, arg2 string) (bool, string, error)
- func (m *MockCandleStore) GetCandlesForMarket(arg0 context.Context, arg1 string) (map[string]string, error)
- type MockCandleStoreMockRecorder
- func (mr *MockCandleStoreMockRecorder) CandleExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCandleStoreMockRecorder) GetCandleDataForTimeSpan(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockCandleStoreMockRecorder) GetCandleIDForIntervalAndMarket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCandleStoreMockRecorder) GetCandlesForMarket(arg0, arg1 interface{}) *gomock.Call
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 ¶
CandleExists mocks base method.
func (*MockCandleStore) EXPECT ¶
func (m *MockCandleStore) EXPECT() *MockCandleStoreMockRecorder
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.