镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 06:26:46 +00:00
report next scheduled sync time
这个提交包含在:
@@ -14,6 +14,7 @@ type MirrorStatus struct {
|
||||
Status SyncStatus `json:"status"`
|
||||
LastUpdate time.Time `json:"last_update"`
|
||||
LastEnded time.Time `json:"last_ended"`
|
||||
Scheduled time.Time `json:"next_schedule"`
|
||||
Upstream string `json:"upstream"`
|
||||
Size string `json:"size"`
|
||||
ErrorMsg string `json:"error_msg"`
|
||||
@@ -28,6 +29,15 @@ type WorkerStatus struct {
|
||||
LastOnline time.Time `json:"last_online"` // last seen
|
||||
}
|
||||
|
||||
type MirrorSchedules struct {
|
||||
Schedules []MirrorSchedule `json:"schedules"`
|
||||
}
|
||||
|
||||
type MirrorSchedule struct {
|
||||
MirrorName string `json:"name"`
|
||||
NextSchedule time.Time `json:"next_schedule"`
|
||||
}
|
||||
|
||||
// A CmdVerb is an action to a job or worker
|
||||
type CmdVerb uint8
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户