plan

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RunningStatus = 1
	StopStatus    = 2
)

计划/策略 状态

Variables

This section is empty.

Functions

This section is empty.

Types

type Plan

type Plan struct {
	common.BaseModel `storm:"inline"`
	Name             string `json:"name"`
	Path             string `json:"path"` //备份路径或还原路径
	RepositoryId     int    `json:"repositoryId"`
	Status           int    `json:"status"`
	ExecTimeCron     string `json:"execTimeCron"`    //定时执行时间
	ReadConcurrency  uint   `json:"readConcurrency"` //读取并发数量,默认取cpu线程数
}

Jump to

Keyboard shortcuts

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