Documentation
¶
Index ¶
- type TaskJob
- func (t TaskJob) ClearAlarmLogByDays(days string)
- func (t TaskJob) ClearNoticeLogByDays(days string)
- func (t TaskJob) ClearOperationLogByDays(days string)
- func (t TaskJob) ClearTDengineLogByDays(days string)
- func (t TaskJob) DeviceLogClear()
- func (t TaskJob) GetAccessURL(accessURL string)
- func (t TaskJob) GetFuncNameList() (res map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskJob ¶
type TaskJob struct {
ID string //任务ID
TaskType string //任务类型
MethodName string //方法名
Params []interface{} //参数
Explain string //任务描述
}
func (TaskJob) ClearAlarmLogByDays ¶
ClearAlarmLogByDays 清理超过指定天数的告警日志
func (TaskJob) ClearNoticeLogByDays ¶
ClearNoticeLogByDays 清理超过指定天数的通知服务日志
func (TaskJob) ClearOperationLogByDays ¶
ClearOperationLogByDays 清理超过指定天数的操作日志
func (TaskJob) ClearTDengineLogByDays ¶
ClearTDengineLogByDays 清理超过指定天数的TD日志
func (TaskJob) GetFuncNameList ¶
Click to show internal directories.
Click to hide internal directories.