2023-03-30 17:31:41 +08:00
|
|
|
package mq
|
|
|
|
|
|
|
|
const (
|
|
|
|
DatasetRequest = iota + 10
|
|
|
|
)
|
|
|
|
|
|
|
|
type InstructionReq struct {
|
|
|
|
Command int `json:"command"`
|
|
|
|
Payload interface{} `json:"payload"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type FileTransferInfo struct {
|
2023-04-02 09:24:37 +08:00
|
|
|
FileName string `json:"fileName"`
|
|
|
|
FilePath string `json:"filePath"`
|
2023-04-04 18:22:01 +08:00
|
|
|
DataType int `json:"dataType"`
|
2023-04-02 09:24:37 +08:00
|
|
|
DatasetId int `json:"datasetId"`
|
|
|
|
FileSize int `json:"fileSize"`
|
|
|
|
File string `json:"file"`
|
|
|
|
IsCompress bool `json:"isCompress"`
|
|
|
|
FileMd5 string `json:"fileMd5"`
|
2023-03-30 17:31:41 +08:00
|
|
|
}
|