tasks

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2025 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

func (t TaskJob) ClearAlarmLogByDays(days string)

ClearAlarmLogByDays 清理超过指定天数的告警日志

func (TaskJob) ClearNoticeLogByDays

func (t TaskJob) ClearNoticeLogByDays(days string)

ClearNoticeLogByDays 清理超过指定天数的通知服务日志

func (TaskJob) ClearOperationLogByDays

func (t TaskJob) ClearOperationLogByDays(days string)

ClearOperationLogByDays 清理超过指定天数的操作日志

func (TaskJob) ClearTDengineLogByDays

func (t TaskJob) ClearTDengineLogByDays(days string)

ClearTDengineLogByDays 清理超过指定天数的TD日志

func (TaskJob) DeviceLogClear

func (t TaskJob) DeviceLogClear()

DeviceLogClear 设备日志清理

func (TaskJob) GetAccessURL

func (t TaskJob) GetAccessURL(accessURL string)

GetAccessURL 执行访问URL

func (TaskJob) GetFuncNameList

func (t TaskJob) GetFuncNameList() (res map[string]string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL