dashboard_screen

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

View Source
const TMP_GRAPH_FILED_DELIMITER = "|"

Variables

This section is empty.

Functions

func GetScreenListSimple

func GetScreenListSimple(c *gin.Context)

func Routes

func Routes(r *gin.Engine)

func ScreenClone

func ScreenClone(c *gin.Context)

func ScreenCreate

func ScreenCreate(c *gin.Context)

func ScreenDelete

func ScreenDelete(c *gin.Context)

func ScreenGet

func ScreenGet(c *gin.Context)

func ScreenGetsAll

func ScreenGetsAll(c *gin.Context)

func ScreenGetsByPid

func ScreenGetsByPid(c *gin.Context)

func ScreenUpdate

func ScreenUpdate(c *gin.Context)

For rename usage

Types

type APIScreenCloneInputs

type APIScreenCloneInputs struct {
	ID   int64  `json:"id" form:"id" binding:"required"`
	Name string `json:"name" form:"name"`
}

For clone screen by id

type APIScreenCreateInput

type APIScreenCreateInput struct {
	Pid  int64  `json:"pid" form:"pid"`
	Name string `json:"name" form:"name" binding:"required"`
}

type APIScreenCreateOutput

type APIScreenCreateOutput struct {
	GraphNames []string `json:"graph_names"`
	m.DashboardScreen
}

type APIScreenGetsAllInputs

type APIScreenGetsAllInputs struct {
	Limit   int    `json:"limit" form:"limit"`
	Page    int    `json:"page" form:"page"`
	KeyWord string `json:"key_word" form:"key_word"`
	Order   bool   `json:"desc" form:"desc"`
}

type APIScreenUpdateInputs

type APIScreenUpdateInputs struct {
	ID   int64  `json:"id" form:"id" binding:"required"`
	Name string `json:"name" form:"name" binding:"required"`
}

Jump to

Keyboard shortcuts

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