Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleBadRequest ¶
func HandleBadRequest(w http.ResponseWriter, err error)
func HandleInternalError ¶
func HandleInternalError(w http.ResponseWriter, err error)
func ResponseJSON ¶
func ResponseJSON(w http.ResponseWriter, val any)
Types ¶
type CandleStick ¶
type Chart ¶
type Chart struct {
Data []Stamp `json:"stamps"`
}
Chart contains aggregated info to be displayed as a chart.
type Delivery ¶
type Delivery struct {
// contains filtered or unexported fields
}
func NewDelivery ¶
func (*Delivery) GetUpdates ¶
func (h *Delivery) GetUpdates(w http.ResponseWriter, req *http.Request)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetInPeriod ¶
Click to show internal directories.
Click to hide internal directories.