service

package
v0.0.0-...-51300c0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package service is a generated GoMock package.

Package service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInfoSrv

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

MockInfoSrv is a mock of InfoSrv interface.

func NewMockInfoSrv

func NewMockInfoSrv(ctrl *gomock.Controller) *MockInfoSrv

NewMockInfoSrv creates a new mock instance.

func (*MockInfoSrv) EXPECT

func (m *MockInfoSrv) EXPECT() *MockInfoSrvMockRecorder

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

func (*MockInfoSrv) GetAccounts

func (m *MockInfoSrv) GetAccounts(ctx context.Context) (*dtotapi.AccountsResponse, error)

GetAccounts mocks base method.

func (*MockInfoSrv) GetAllShares

func (m *MockInfoSrv) GetAllShares(ctx context.Context) (*dtotapi.SharesResponse, error)

GetAllShares mocks base method.

func (*MockInfoSrv) GetDataStream

GetDataStream mocks base method.

func (*MockInfoSrv) GetHistorySorted

func (m *MockInfoSrv) GetHistorySorted(finis []string, ivl investapi.CandleInterval, startTime, endTime time.Time, ctx context.Context) ([]entity.History, error)

GetHistorySorted mocks base method.

func (*MockInfoSrv) GetInstrumentInfoByFigi

func (m *MockInfoSrv) GetInstrumentInfoByFigi(figi string, ctx context.Context) (*dtotapi.InstrumentResponse, error)

GetInstrumentInfoByFigi mocks base method.

func (*MockInfoSrv) GetLastPrices

func (m *MockInfoSrv) GetLastPrices(figis []string, ctx context.Context) (*dtotapi.LastPricesResponse, error)

GetLastPrices mocks base method.

func (*MockInfoSrv) GetOrderState

GetOrderState mocks base method.

func (*MockInfoSrv) GetPositions

GetPositions mocks base method.

type MockInfoSrvMockRecorder

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

MockInfoSrvMockRecorder is the mock recorder for MockInfoSrv.

func (*MockInfoSrvMockRecorder) GetAccounts

func (mr *MockInfoSrvMockRecorder) GetAccounts(ctx interface{}) *gomock.Call

GetAccounts indicates an expected call of GetAccounts.

func (*MockInfoSrvMockRecorder) GetAllShares

func (mr *MockInfoSrvMockRecorder) GetAllShares(ctx interface{}) *gomock.Call

GetAllShares indicates an expected call of GetAllShares.

func (*MockInfoSrvMockRecorder) GetDataStream

func (mr *MockInfoSrvMockRecorder) GetDataStream(ctx interface{}) *gomock.Call

GetDataStream indicates an expected call of GetDataStream.

func (*MockInfoSrvMockRecorder) GetHistorySorted

func (mr *MockInfoSrvMockRecorder) GetHistorySorted(finis, ivl, startTime, endTime, ctx interface{}) *gomock.Call

GetHistorySorted indicates an expected call of GetHistorySorted.

func (*MockInfoSrvMockRecorder) GetInstrumentInfoByFigi

func (mr *MockInfoSrvMockRecorder) GetInstrumentInfoByFigi(figi, ctx interface{}) *gomock.Call

GetInstrumentInfoByFigi indicates an expected call of GetInstrumentInfoByFigi.

func (*MockInfoSrvMockRecorder) GetLastPrices

func (mr *MockInfoSrvMockRecorder) GetLastPrices(figis, ctx interface{}) *gomock.Call

GetLastPrices indicates an expected call of GetLastPrices.

func (*MockInfoSrvMockRecorder) GetOrderState

func (mr *MockInfoSrvMockRecorder) GetOrderState(req, ctx interface{}) *gomock.Call

GetOrderState indicates an expected call of GetOrderState.

func (*MockInfoSrvMockRecorder) GetPositions

func (mr *MockInfoSrvMockRecorder) GetPositions(req, ctx interface{}) *gomock.Call

GetPositions indicates an expected call of GetPositions.

type MockStatService

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

MockStatService is a mock of StatService interface.

func NewMockStatService

func NewMockStatService(ctrl *gomock.Controller) *MockStatService

NewMockStatService creates a new mock instance.

func (*MockStatService) EXPECT

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

func (*MockStatService) GetAlgorithmStat

func (m *MockStatService) GetAlgorithmStat(req *dto.StatAlgoRequest) (*dto.StatAlgoResponse, error)

GetAlgorithmStat mocks base method.

type MockStatServiceMockRecorder

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

MockStatServiceMockRecorder is the mock recorder for MockStatService.

func (*MockStatServiceMockRecorder) GetAlgorithmStat

func (mr *MockStatServiceMockRecorder) GetAlgorithmStat(req interface{}) *gomock.Call

GetAlgorithmStat indicates an expected call of GetAlgorithmStat.

Jump to

Keyboard shortcuts

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