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 []*source.Candle) error
func (*Controller) SelectCandles ¶
func (c *Controller) SelectCandles(symbol string, resolution source.Resolution, from, to time.Time) ([]*source.Candle, error)
Click to show internal directories.
Click to hide internal directories.