1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 06:26:46 +00:00

refactor(worker): change provider's Run method to Start, and change logfile handling

这个提交包含在:
bigeagle
2016-04-22 20:59:43 +08:00
父节点 276ab233c5
当前提交 0e808a449a
共有 5 个文件被更改,包括 23 次插入21 次删除

查看文件

@@ -16,8 +16,10 @@ type mirrorProvider interface {
Name() string
// TODO: implement Run, Terminate and Hooks
// run mirror job
Run()
// run mirror job in background
Start()
// Wait job to finish
Wait()
// terminate mirror job
Terminate()
// job hooks