Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNoData ¶
func DeleteNoData ¶
func GetNoDataList ¶
func UpdateNoData ¶
Types ¶
type APICreateNoDataInputs ¶
type APICreateNoDataInputs struct { Name string `json:"name" binding:"required"` Obj string `json:"obj" binding:"required"` //group, host, other ObjType string `json:"obj_type" binding:"required"` Metric string `json:"metric" binding:"required"` Tags string `json:"tags" binding:"exists"` DsType string `json:"dstype" binding:"required"` Step int `json:"step" binding:"required"` Mock float64 `json:"mock" binding:"exists"` }
func (APICreateNoDataInputs) CheckFormat ¶
func (this APICreateNoDataInputs) CheckFormat() (err error)
type APIUpdateNoDataInputs ¶
type APIUpdateNoDataInputs struct { ID int64 `json:"id" binding:"required"` Obj string `json:"obj" binding:"required"` //group, host, other ObjType string `json:"obj_type" binding:"required"` Metric string `json:"metric" binding:"required"` Tags string `json:"tags" binding:"exists"` DsType string `json:"dstype" binding:"required"` Step int `json:"step" binding:"required"` Mock float64 `json:"mock" binding:"exists"` }
func (APIUpdateNoDataInputs) CheckFormat ¶
func (this APIUpdateNoDataInputs) CheckFormat() (err error)
Click to show internal directories.
Click to hide internal directories.