Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrencyRepository ¶
type CurrencyRepository interface { CreateCurrencies( ctx context.Context, currencies []models.Currency) (map[string]int, error) CreateCurrency( ctx context.Context, currency models.Currency) (int, error) }
func NewCurrencyRepository ¶
func NewCurrencyRepository( logger *zap.SugaredLogger, entgoClient entities.EntgoClient) (CurrencyRepository, error)
type TradingPairRepository ¶
type TradingPairRepository interface { CreateTradingPairs( ctx context.Context, venueId string, tradingPairs []models.TradingPair) error }
func NewTradingPairRepository ¶
func NewTradingPairRepository( logger *zap.SugaredLogger, entgoClient entities.EntgoClient, currencyRepository CurrencyRepository, venueRepository VenueRepository) (TradingPairRepository, error)
type VenueRepository ¶
type VenueRepository interface { CreateVenues( ctx context.Context, venues []models.Venue) (map[string]int, error) CreateVenue( ctx context.Context, venue models.Venue) (int, error) }
func NewVenueRepository ¶
func NewVenueRepository( logger *zap.SugaredLogger, entgoClient entities.EntgoClient) (VenueRepository, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.