package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jul 28, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
FromEntitiesToMap will convert the entities to a map.
type Exchange struct {
Name string `db:"name"`
Data []byte `db:"data"`
}
Exchange is the exchange entity.
ExchangeFromModel will convert the model to an entity.
ToModel will convert the entity to a model.
type ExchangeData struct {
Pairs []string `json:"pairs"`
Periods []string `json:"periods"`
Fees float64 `json:"fees"`
LastSyncTime time.Time `json:"last_sync_time"`
}
ExchangeData is the exchange data entity.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.