Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGraph ¶
func DeleteGraph ¶
func UpdateGraph ¶
Types ¶
type APICreateGraphInput ¶
type APICreateGraphInput struct {
Title string `json:"title" binding:"required"`
Hosts string `json:"hosts" binding:"required"`
Counters string `json:"counters" binding:"required"`
ScreenId int64 `json:"screen_id" binding:"required"`
Timespan int64 `json:"timespan"`
GraphType string `json:"graph_type"`
Method string `json:"method"`
}
type APIGetGraphOutput ¶
type APIGetGraphOutput struct {
ID string `json:"id" binding:"required"`
Title string `json:"titile" binding:"required"`
Hosts string `json:"hosts" binding:"required"`
Counters string `json:"counters" binding:"required"`
Timespan int64 `json:"timespan"`
GraphType string `json:"graph_type"`
Method string `json:"method"`
ScreenId int64 `json:"screen_id" binding:"required"`
}
type APIUpdateGraphInput ¶
type APIUpdateGraphInput struct {
ID int64 `json:"id" binding:"required"`
Title string `json:"title" binding:"required"`
Hosts string `json:"hosts" binding:"required"`
Counters string `json:"counters" binding:"required"`
Timespan int64 `json:"timespan"`
GraphType string `json:"graph_type"`
Method string `json:"method"`
ScreenId int64 `json:"screen_id" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.