dashboard_graph

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const TMP_GRAPH_FILED_DELIMITER = "|"

Variables

This section is empty.

Functions

func DashboardGraphCreate

func DashboardGraphCreate(c *gin.Context)

func DashboardGraphDelete

func DashboardGraphDelete(c *gin.Context)

func DashboardGraphGet

func DashboardGraphGet(c *gin.Context)

func DashboardGraphGetsByScreenID

func DashboardGraphGetsByScreenID(c *gin.Context)

func DashboardGraphUpdate

func DashboardGraphUpdate(c *gin.Context)

func DashboardTmpGraphCreate

func DashboardTmpGraphCreate(c *gin.Context)

func DashboardTmpGraphQuery

func DashboardTmpGraphQuery(c *gin.Context)

func Routes

func Routes(r *gin.Engine)

Types

type APIGraphCreateReqData

type APIGraphCreateReqData struct {
	ScreenId   int      `json:"screen_id" binding:"required"`
	Title      string   `json:"title" binding:"required"`
	Endpoints  []string `json:"endpoints" binding:"required"`
	Counters   []string `json:"counters" binding:"required"`
	TimeSpan   int      `json:"timespan"`
	GraphType  string   `json:"graph_type"`
	Method     string   `json:"method"`
	Position   int      `json:"position"`
	FalconTags string   `json:"falcon_tags"`
}

type APIGraphUpdateReqData

type APIGraphUpdateReqData struct {
	ScreenId   int      `json:"screen_id"`
	Title      string   `json:"title"`
	Endpoints  []string `json:"endpoints"`
	Counters   []string `json:"counters"`
	TimeSpan   int      `json:"timespan"`
	GraphType  string   `json:"graph_type"`
	Method     string   `json:"method"`
	Position   int      `json:"position"`
	FalconTags string   `json:"falcon_tags"`
}

type APITmpGraphCreateReqData

type APITmpGraphCreateReqData struct {
	Endpoints []string `json:"endpoints" binding:"required"`
	Counters  []string `json:"counters" binding:"required"`
}

Jump to

Keyboard shortcuts

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