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

feature(manager): implement db.go and tests

这个提交包含在:
walkerning
2016-04-25 19:05:27 +08:00
提交者 bigeagle
父节点 00eddc3066
当前提交 a11fbe2c58
共有 3 个文件被更改,包括 237 次插入13 次删除

查看文件

@@ -157,6 +157,10 @@ type mockDBAdapter struct {
statusStore map[string]mirrorStatus
}
func (b *mockDBAdapter) Init() error {
return nil
}
func (b *mockDBAdapter) ListWorkers() ([]worker, error) {
workers := make([]worker, len(b.workerStore))
idx := 0