Documentation ¶
Overview ¶
Package mock_repositories is a generated GoMock package.
Package mock_repositories is a generated GoMock package.
Package mock_repositories is a generated GoMock package.
Index ¶
- type MockCurrencyRepository
- func (m *MockCurrencyRepository) CreateCurrencies(ctx context.Context, currencies []models.Currency) (map[string]int, error)
- func (m *MockCurrencyRepository) CreateCurrency(ctx context.Context, currency models.Currency) (int, error)
- func (m *MockCurrencyRepository) EXPECT() *MockCurrencyRepositoryMockRecorder
- type MockCurrencyRepositoryMockRecorder
- type MockTradingPairRepository
- type MockTradingPairRepositoryMockRecorder
- type MockVenueRepository
- type MockVenueRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCurrencyRepository ¶
type MockCurrencyRepository struct {
// contains filtered or unexported fields
}
MockCurrencyRepository is a mock of CurrencyRepository interface.
func NewMockCurrencyRepository ¶
func NewMockCurrencyRepository(ctrl *gomock.Controller) *MockCurrencyRepository
NewMockCurrencyRepository creates a new mock instance.
func (*MockCurrencyRepository) CreateCurrencies ¶
func (m *MockCurrencyRepository) CreateCurrencies(ctx context.Context, currencies []models.Currency) (map[string]int, error)
CreateCurrencies mocks base method.
func (*MockCurrencyRepository) CreateCurrency ¶
func (m *MockCurrencyRepository) CreateCurrency(ctx context.Context, currency models.Currency) (int, error)
CreateCurrency mocks base method.
func (*MockCurrencyRepository) EXPECT ¶
func (m *MockCurrencyRepository) EXPECT() *MockCurrencyRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCurrencyRepositoryMockRecorder ¶
type MockCurrencyRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCurrencyRepositoryMockRecorder is the mock recorder for MockCurrencyRepository.
func (*MockCurrencyRepositoryMockRecorder) CreateCurrencies ¶
func (mr *MockCurrencyRepositoryMockRecorder) CreateCurrencies(ctx, currencies interface{}) *gomock.Call
CreateCurrencies indicates an expected call of CreateCurrencies.
func (*MockCurrencyRepositoryMockRecorder) CreateCurrency ¶
func (mr *MockCurrencyRepositoryMockRecorder) CreateCurrency(ctx, currency interface{}) *gomock.Call
CreateCurrency indicates an expected call of CreateCurrency.
type MockTradingPairRepository ¶
type MockTradingPairRepository struct {
// contains filtered or unexported fields
}
MockTradingPairRepository is a mock of TradingPairRepository interface.
func NewMockTradingPairRepository ¶
func NewMockTradingPairRepository(ctrl *gomock.Controller) *MockTradingPairRepository
NewMockTradingPairRepository creates a new mock instance.
func (*MockTradingPairRepository) CreateTradingPairs ¶
func (m *MockTradingPairRepository) CreateTradingPairs(ctx context.Context, venueId string, tradingPairs []models.TradingPair) error
CreateTradingPairs mocks base method.
func (*MockTradingPairRepository) EXPECT ¶
func (m *MockTradingPairRepository) EXPECT() *MockTradingPairRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTradingPairRepositoryMockRecorder ¶
type MockTradingPairRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockTradingPairRepositoryMockRecorder is the mock recorder for MockTradingPairRepository.
func (*MockTradingPairRepositoryMockRecorder) CreateTradingPairs ¶
func (mr *MockTradingPairRepositoryMockRecorder) CreateTradingPairs(ctx, venueId, tradingPairs interface{}) *gomock.Call
CreateTradingPairs indicates an expected call of CreateTradingPairs.
type MockVenueRepository ¶
type MockVenueRepository struct {
// contains filtered or unexported fields
}
MockVenueRepository is a mock of VenueRepository interface.
func NewMockVenueRepository ¶
func NewMockVenueRepository(ctrl *gomock.Controller) *MockVenueRepository
NewMockVenueRepository creates a new mock instance.
func (*MockVenueRepository) CreateVenue ¶
CreateVenue mocks base method.
func (*MockVenueRepository) CreateVenues ¶
func (m *MockVenueRepository) CreateVenues(ctx context.Context, venues []models.Venue) (map[string]int, error)
CreateVenues mocks base method.
func (*MockVenueRepository) EXPECT ¶
func (m *MockVenueRepository) EXPECT() *MockVenueRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockVenueRepositoryMockRecorder ¶
type MockVenueRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockVenueRepositoryMockRecorder is the mock recorder for MockVenueRepository.
func (*MockVenueRepositoryMockRecorder) CreateVenue ¶
func (mr *MockVenueRepositoryMockRecorder) CreateVenue(ctx, venue interface{}) *gomock.Call
CreateVenue indicates an expected call of CreateVenue.
func (*MockVenueRepositoryMockRecorder) CreateVenues ¶
func (mr *MockVenueRepositoryMockRecorder) CreateVenues(ctx, venues interface{}) *gomock.Call
CreateVenues indicates an expected call of CreateVenues.