fileaccess.go 307 B

12345678910111213141516171819
  1. package rpcs
  2. // ArgsMoveFile move file rpc args
  3. type ArgsMoveFile struct {
  4. ArgsWithSpan
  5. Source string
  6. Target string
  7. }
  8. // ReplyMoveFile move file rpc reply
  9. type ReplyMoveFile struct {
  10. FilePath string
  11. }
  12. // ArgsDeleteFile 删除文件参数
  13. type ArgsDeleteFile struct {
  14. ArgsWithSpan
  15. FileName string
  16. }