Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CandleRequest ¶
type CandleResponse ¶
type CandleResponse struct { OHLCV []*models.OHLCVMarketData `schema:"ohlcv,required"` Error null.String `schema:"message"` }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler( repo repository.Repository, ) *Handler
func (Handler) GetCandles ¶
func (h Handler) GetCandles( w http.ResponseWriter, r *http.Request, )
Click to show internal directories.
Click to hide internal directories.