Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository interface { GetLastSync( ctx context.Context, exchange string, pair *models.Symbol, ) (*models.LastSync, error) UpsertLastSync( ctx context.Context, exchange string, pair *models.Symbol, lastSyncTime time.Time, ) error UpsertOHLCVData( ohlcvData []*models.OHLCVMarketData, exchange string, pair *models.Symbol, ) GetOHLCVData( context context.Context, base string, quote null.String, exchange null.String, start time.Time, end time.Time, ) ([]*models.OHLCVMarketData, error) }
func NewRepository ¶
Click to show internal directories.
Click to hide internal directories.