cleaner

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatLog

func FormatLog(log string) string

Types

type SystemDataCleaner

type SystemDataCleaner struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewCleaner

func NewCleaner() (*SystemDataCleaner, error)

func (*SystemDataCleaner) Clean

func (cleaner *SystemDataCleaner) Clean(taskInfo *task.DataCleanTaskInfo) error

Clean system data.

func (*SystemDataCleaner) ExecuteClean

func (cleaner *SystemDataCleaner) ExecuteClean(taskInfoParam *task.DataCleanTaskInfo)

func (*SystemDataCleaner) Report

func (cleaner *SystemDataCleaner) Report(taskId int) *task.DataCleanTaskInfo

Report task status to snrs

Jump to

Keyboard shortcuts

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