Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
func New ¶
func New(c *gorm.DB) *Controller
func (*Controller) Close ¶
func (c *Controller) Close()
func (*Controller) InsertCandles ¶
func (c *Controller) InsertCandles(candles []*models.Candle) error
func (*Controller) SelectCandles ¶
func (c *Controller) SelectCandles(symbol *symbols.Symbol, resolution models.Resolution, from, to time.Time) ([]*models.Candle, error)
Click to show internal directories.
Click to hide internal directories.