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

refactor(manager): refactored structure names in manager

这个提交包含在:
bigeagle
2016-04-28 19:21:41 +08:00
父节点 ce3471e30d
当前提交 0dcd89da31
共有 8 个文件被更改,包括 119 次插入158 次删除

查看文件

@@ -15,9 +15,9 @@ type MirrorStatus struct {
ErrorMsg string `json:"error_msg"`
}
// A WorkerInfoMsg is the information struct that describe
// A WorkerStatus is the information struct that describe
// a worker, and sent from the manager to clients.
type WorkerInfoMsg struct {
type WorkerStatus struct {
ID string `json:"id"`
URL string `json:"url"` // worker url
Token string `json:"token"` // session token