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线程数 }
Click to show internal directories.
Click to hide internal directories.