Documentation
¶
Index ¶
- func AddAction(c *gin.Context)
- func AddCondition(c *gin.Context)
- func AddDevice(c *gin.Context)
- func AddLog(c *gin.Context)
- func AddUser(c *gin.Context)
- func DeleteAction(c *gin.Context)
- func DeleteCondition(c *gin.Context)
- func DeleteDevice(c *gin.Context)
- func DeleteLog(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetAction(c *gin.Context)
- func GetActions(c *gin.Context)
- func GetAllCount(c *gin.Context)
- func GetCondition(c *gin.Context)
- func GetConditions(c *gin.Context)
- func GetCount(c *gin.Context)
- func GetDevice(c *gin.Context)
- func GetDevices(c *gin.Context)
- func GetLog(c *gin.Context)
- func GetLogs(c *gin.Context)
- func GetUser(c *gin.Context)
- func GetUsers(c *gin.Context)
- func UpdateAction(c *gin.Context)
- func UpdateCondition(c *gin.Context)
- func UpdateDevice(c *gin.Context)
- func UpdateLog(c *gin.Context)
- func UpdateUser(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAction ¶
DeleteAction deletes an action based on the identifier.
func DeleteCondition ¶
DeleteCondition deletes a condition based on the identifier.
func DeleteDevice ¶
DeleteDevice deletes a device based on the identifier.
func DeleteUser ¶
DeleteUser deletes a user based on the identifier.
func GetAllCount ¶
GetAllCount gets all the count of objects of current user for all endpoints.
func GetCondition ¶
GetCondition gets a condition based on the provided identifier.
func GetCount ¶
GetCount gets the count of objects of current user for the provided endpoint. For example, when a user has 10 actions, the count will be 10. An error will be returned if the endpoint is not found.
func UpdateAction ¶
UpdateAction updates an action based on the identifer.
func UpdateCondition ¶
UpdateCondition updates a condition based on the identifer.
func UpdateDevice ¶
UpdateDevice updates a device based on the identifer.
Types ¶
This section is empty.