Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
func NewRepository ¶
func NewRepository(uri string) Repository
func (*Repository) GetSpotsIteratable ¶
func (r *Repository) GetSpotsIteratable() error
func (*Repository) UpdateDb ¶
func (r *Repository) UpdateDb(symbol []*binance.SymbolPrice)
type Service ¶
type Service struct {
Repository Repository
}
func NewService ¶
func NewService(repository Repository) Service
type SymbolPrice ¶
type SymbolPriceEntity ¶
type SymbolPriceEntityList ¶
type SymbolPriceEntityList struct {
SymbolPrices []interface{} `bson:"symbol_prices"`
}
Click to show internal directories.
Click to hide internal directories.