Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Index ¶
- type MockIService
- func (m *MockIService) EXPECT() *MockIServiceMockRecorder
- func (m *MockIService) FormatAccount(id *big.Int) (*models.Account, error)
- func (m *MockIService) FormatAccounts() ([]*models.Account, error)
- func (m *MockIService) FormatAccountsLimit(limit uint64) ([]*models.Account, error)
- func (m *MockIService) GetPosition(accountID, marketID *big.Int) (*models.Position, error)
- func (m *MockIService) RetrieveMarketUpdates(fromBlock uint64, toBLock *uint64) ([]*models.MarketUpdate, error)
- func (m *MockIService) RetrieveOrders(fromBlock uint64, toBLock *uint64) ([]*models.Order, error)
- func (m *MockIService) RetrieveTrades(fromBlock uint64, toBLock *uint64) ([]*models.Trade, error)
- type MockIServiceMockRecorder
- func (mr *MockIServiceMockRecorder) FormatAccount(id interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) FormatAccounts() *gomock.Call
- func (mr *MockIServiceMockRecorder) FormatAccountsLimit(limit interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) GetPosition(accountID, marketID interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) RetrieveMarketUpdates(fromBlock, toBLock interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) RetrieveOrders(fromBlock, toBLock interface{}) *gomock.Call
- func (mr *MockIServiceMockRecorder) RetrieveTrades(fromBlock, toBLock interface{}) *gomock.Call
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 ¶
func (m *MockIService) EXPECT() *MockIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIService) FormatAccount ¶ added in v0.1.2
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
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
RetrieveOrders mocks base method.
func (*MockIService) RetrieveTrades ¶
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.