mock_services

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIService

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

MockIService is a mock of IService interface.

func NewMockIService

func NewMockIService(ctrl *gomock.Controller) *MockIService

NewMockIService creates a new mock instance.

func (*MockIService) EXPECT

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

func (*MockIService) FormatAccount added in v0.1.2

func (m *MockIService) FormatAccount(id *big.Int) (*models.Account, error)

FormatAccount mocks base method.

func (*MockIService) FormatAccounts added in v0.1.2

func (m *MockIService) FormatAccounts() ([]*models.Account, error)

FormatAccounts mocks base method.

func (*MockIService) FormatAccountsLimit added in v0.1.2

func (m *MockIService) FormatAccountsLimit(limit uint64) ([]*models.Account, error)

FormatAccountsLimit mocks base method.

func (*MockIService) GetPosition added in v0.0.2

func (m *MockIService) GetPosition(accountID, marketID *big.Int) (*models.Position, error)

GetPosition mocks base method.

func (*MockIService) RetrieveMarketUpdates added in v0.1.1

func (m *MockIService) RetrieveMarketUpdates(fromBlock uint64, toBLock *uint64) ([]*models.MarketUpdate, error)

RetrieveMarketUpdates mocks base method.

func (*MockIService) RetrieveOrders added in v0.1.0

func (m *MockIService) RetrieveOrders(fromBlock uint64, toBLock *uint64) ([]*models.Order, error)

RetrieveOrders mocks base method.

func (*MockIService) RetrieveTrades

func (m *MockIService) RetrieveTrades(fromBlock uint64, toBLock *uint64) ([]*models.Trade, error)

RetrieveTrades mocks base method.

type MockIServiceMockRecorder

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

MockIServiceMockRecorder is the mock recorder for MockIService.

func (*MockIServiceMockRecorder) FormatAccount added in v0.1.2

func (mr *MockIServiceMockRecorder) FormatAccount(id interface{}) *gomock.Call

FormatAccount indicates an expected call of FormatAccount.

func (*MockIServiceMockRecorder) FormatAccounts added in v0.1.2

func (mr *MockIServiceMockRecorder) FormatAccounts() *gomock.Call

FormatAccounts indicates an expected call of FormatAccounts.

func (*MockIServiceMockRecorder) FormatAccountsLimit added in v0.1.2

func (mr *MockIServiceMockRecorder) FormatAccountsLimit(limit interface{}) *gomock.Call

FormatAccountsLimit indicates an expected call of FormatAccountsLimit.

func (*MockIServiceMockRecorder) GetPosition added in v0.0.2

func (mr *MockIServiceMockRecorder) GetPosition(accountID, marketID interface{}) *gomock.Call

GetPosition indicates an expected call of GetPosition.

func (*MockIServiceMockRecorder) RetrieveMarketUpdates added in v0.1.1

func (mr *MockIServiceMockRecorder) RetrieveMarketUpdates(fromBlock, toBLock interface{}) *gomock.Call

RetrieveMarketUpdates indicates an expected call of RetrieveMarketUpdates.

func (*MockIServiceMockRecorder) RetrieveOrders added in v0.1.0

func (mr *MockIServiceMockRecorder) RetrieveOrders(fromBlock, toBLock interface{}) *gomock.Call

RetrieveOrders indicates an expected call of RetrieveOrders.

func (*MockIServiceMockRecorder) RetrieveTrades

func (mr *MockIServiceMockRecorder) RetrieveTrades(fromBlock, toBLock interface{}) *gomock.Call

RetrieveTrades indicates an expected call of RetrieveTrades.

Jump to

Keyboard shortcuts

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