storage.go 518 B

12345678910111213141516171819
  1. /*
  2. * @Author: LinkLeong link@icewhale.com
  3. * @Date: 2022-07-15 10:43:00
  4. * @LastEditors: LinkLeong
  5. * @LastEditTime: 2022-07-15 10:56:17
  6. * @FilePath: /CasaOS/model/notify/storage.go
  7. * @Description:
  8. * @Website: https://www.casaos.io
  9. * Copyright (c) 2022 by icewhale, All Rights Reserved.
  10. */
  11. package notify
  12. type StorageMessage struct {
  13. Type string `json:"type"` //sata,usb
  14. Action string `json:"action"` //remove add
  15. Path string `json:"path"`
  16. Volume string `json:"volume"`
  17. Size uint64 `json:"size"`
  18. }