Documentation
¶
Index ¶
- Constants
- func DashboardGraphCreate(c *gin.Context)
- func DashboardGraphDelete(c *gin.Context)
- func DashboardGraphGet(c *gin.Context)
- func DashboardGraphGetsByScreenID(c *gin.Context)
- func DashboardGraphUpdate(c *gin.Context)
- func DashboardTmpGraphCreate(c *gin.Context)
- func DashboardTmpGraphQuery(c *gin.Context)
- func Routes(r *gin.Engine)
- type APIGraphCreateReqData
- type APIGraphUpdateReqData
- type APITmpGraphCreateReqData
Constants ¶
View Source
const TMP_GRAPH_FILED_DELIMITER = "|"
Variables ¶
This section is empty.
Functions ¶
func DashboardGraphCreate ¶
func DashboardGraphDelete ¶
func DashboardGraphGet ¶
func DashboardGraphUpdate ¶
func DashboardTmpGraphCreate ¶
func DashboardTmpGraphQuery ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.