Documentation ¶
Index ¶
- func ConnectMongoDB(uri string) (*mongo.Client, context.Context, error)
- func FindByTransactionsByTicker(client *mongo.Client, data ApiTrades, ticker string) *[]Trade
- func MongoInit(tradeData []ApiTrades)
- func SaveData(db *mongo.Database, data ApiTrades) error
- func UpdateTransactionForTicker(client *mongo.Client, ticker string, trade Trade) error
- type ApiTrades
- type Trade
- type Trades
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.