Feat: slave side list file

This commit is contained in:
HFO4
2020-04-28 10:02:53 +08:00
parent d5fc5745b4
commit 5d579cdadc
6 changed files with 89 additions and 7 deletions

View File

@@ -23,10 +23,10 @@ type RSCloser interface {
// Object 列出文件、目录时返回的对象
type Object struct {
Name string
RelativePath string
Source string
Size uint64
IsDir bool
LastModify time.Time
Name string `json:"name"`
RelativePath string `json:"relative_path"`
Source string `json:"source"`
Size uint64 `json:"size"`
IsDir bool `json:"is_dir"`
LastModify time.Time `json:"last_modify"`
}