chart

package
v0.0.0-...-c7114d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2021 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIDArray

func GetIDArray(hits []interface{}) []string

func Router

func Router() chi.Router

Router - Group of chart router

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL