Documentation ¶
Index ¶
- func DeleteGraphCounter(c *gin.Context)
- func DeleteGraphEndpoint(c *gin.Context)
- func EndpointCounterRegexpQuery(c *gin.Context)
- func EndpointObjGet(c *gin.Context)
- func EndpointRegexpQuery(c *gin.Context)
- func GrafanaMainQuery(c *gin.Context)
- func GrafanaRender(c *gin.Context)
- func QueryGraphDrawData(c *gin.Context)
- func QueryGraphLastPoint(c *gin.Context)
- func Routes(r *gin.Engine)
- type APIEndpointObjGetInputs
- type APIEndpointRegexpQueryInputs
- type APIGrafanaMainQueryInputs
- type APIGrafanaMainQueryOutputs
- type APIGrafanaRenderInput
- type APIGraphDeleteCounterInputs
- type APIQueryGraphDrawData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteGraphCounter ¶
func DeleteGraphEndpoint ¶
func EndpointObjGet ¶
func EndpointRegexpQuery ¶
func GrafanaMainQuery ¶
func GrafanaRender ¶
func QueryGraphDrawData ¶
func QueryGraphLastPoint ¶
Types ¶
type APIEndpointObjGetInputs ¶
type APIGrafanaRenderInput ¶
type APIGrafanaRenderInput struct { Target []string `json:"target" form:"target" binding:"required"` From int64 `json:"from" form:"from" binding:"required"` Until int64 `json:"until" form:"until" binding:"required"` Format string `json:"format" form:"format"` MaxDataPoints int64 `json:"maxDataPoints" form:"maxDataPoints"` Step int `json:"step" form:"step"` ConsolFun string `json:"consolFun" form:"consolFun"` }
type APIQueryGraphDrawData ¶
type APIQueryGraphDrawData struct { HostNames []string `json:"hostnames" binding:"required"` Counters []string `json:"counters" binding:"required"` ConsolFun string `json:"consol_fun" binding:"required"` StartTime int64 `json:"start_time" binding:"required"` EndTime int64 `json:"end_time" binding:"required"` Step int `json:"step"` }
Click to show internal directories.
Click to hide internal directories.