dashboard

package
v0.0.0-...-46e61fc Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewDashboardHandler

func NewDashboardHandler(dashboardController controller.IController) *Handler

func (*Handler) GetAllChartsByRepository

func (h *Handler) GetAllChartsByRepository(w http.ResponseWriter, r *http.Request)

GetAllChartsByRepository @Tags Dashboard @Security ApiKeyAuth @Description Get all charts of dashboard screen @ID GetAllChartsByRepository @Accept json @Produce json @Param workspaceID path string true "workspaceID of the workspace" @Param repositoryID path string true "repositoryID of the repository" @Param initialDate query string false "initialDate query string" @Param finalDate query string false "finalDate query string" @Success 200 {object} entities.Response{content=dashboard.Response} "OK" @Failure 400 {object} entities.Response{content=string} "BAD REQUEST" @Failure 500 {object} entities.Response{content=string} "INTERNAL SERVER ERROR" @Router /analytic/dashboard/{workspaceID}/{repositoryID} [get]

func (*Handler) GetAllChartsByWorkspace

func (h *Handler) GetAllChartsByWorkspace(w http.ResponseWriter, r *http.Request)

GetAllChartsByWorkspace @Tags Dashboard @Security ApiKeyAuth @Description Get all charts of dashboard screen @ID GetAllChartsByWorkspace @Accept json @Produce json @Param workspaceID path string true "workspaceID of the workspace" @Param initialDate query string false "initialDate query string" @Param finalDate query string false "finalDate query string" @Success 200 {object} entities.Response{content=dashboard.Response} "OK" @Failure 400 {object} entities.Response{content=string} "BAD REQUEST" @Failure 500 {object} entities.Response{content=string} "INTERNAL SERVER ERROR" @Router /analytic/dashboard/{workspaceID} [get]

func (*Handler) Options

func (h *Handler) Options(w http.ResponseWriter, _ *http.Request)

Jump to

Keyboard shortcuts

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