Documentation
¶
Overview ¶
* @Author: LinkLeong link@icewhale.com * @Date: 2022-05-26 14:21:57 * @LastEditors: LinkLeong * @LastEditTime: 2022-06-02 11:14:15 * @FilePath: /CasaOS/model/notify/file.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
* @Author: LinkLeong link@icewhale.com * @Date: 2022-07-15 10:43:00 * @LastEditors: LinkLeong * @LastEditTime: 2022-07-15 10:56:17 * @FilePath: /CasaOS/model/notify/storage.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
Finished bool `json:"finished"`
ProcessedSize int64 `json:"processed_size"`
ProcessingPath string `json:"processing_path"`
Status string `json:"status"`
TotalSize int64 `json:"total_size"`
Id string `json:"id"`
To string `json:"to"`
Type string `json:"type"`
Error string `json:"error,omitempty"` // a short code when the task stopped on an error (Status FAILED)
}
type NotifyModel ¶
type NotifyModel struct {
Data interface{} `json:"data"`
State string `json:"state"`
}
Notify struct for Notify