Documentation ¶
Index ¶
- type DataStore
- func (d *DataStore) AutoMigrate() *gorm.DB
- func (d *DataStore) CloseDB()
- func (d *DataStore) GetDB() *gorm.DB
- func (d *DataStore) OpenDB() error
- func (d *DataStore) UpdateCurrency(c *common.Currency) *gorm.DB
- func (d *DataStore) UpdateExchanger(c *common.Exchanger) *gorm.DB
- func (d *DataStore) UpdateMarket(c *common.Market) *gorm.DB
- func (d *DataStore) UpdateOrderBook(c *common.OrderBook) *gorm.DB
- func (d *DataStore) UpdatePriceVol(c *common.PriceVol) *gorm.DB
- func (d *DataStore) UpdateSymbol(c *common.Symbol) *gorm.DB
- func (d *DataStore) UpdateTicker(c *common.Ticker) *gorm.DB
- func (d *DataStore) UpdateTrade(c *common.Trade) *gorm.DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStore ¶
type DataStore struct { Dialect string Name string User string Password string // contains filtered or unexported fields }
DataStore ...
func NewDataStore ¶
func (*DataStore) AutoMigrate ¶
func (*DataStore) UpdateExchanger ¶
func (*DataStore) UpdateOrderBook ¶
Click to show internal directories.
Click to hide internal directories.