Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIDArray ¶
func GetIDArray(hits []interface{}) []string
func Spec ¶
func Spec(w http.ResponseWriter, r *http.Request)
Spec - Get chart spec by id @Summary Show a spec chart by id @Description Get spec chart by ID @Tags Chart @ID get-chart-spec-by-id @Produce json @Param X-User header string true "User ID" @Param X-Space header string true "Space ID" @Param chart_id path string true "Chart ID" @Success 200 {object} model.Chart @Router /charts/{chart_id} [get]
func Visualize ¶
func Visualize(w http.ResponseWriter, r *http.Request)
Visualize - Get chart by id @Summary Show a chart by id @Description Get chart by ID @Tags Chart @ID get-chart-visualization-by-id @Produce json @Param chart_id path string true "Chart ID" @Success 200 @Router /charts/visualization/{chart_id} [get]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.