mock_repositories

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

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

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

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

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

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

func (m *MockVenueRepository) CreateVenue(ctx context.Context, venue models.Venue) (int, error)

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

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.

Jump to

Keyboard shortcuts

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