data2minio/mq/instruction.go

21 lines
318 B
Go
Raw Normal View History

2023-04-01 16:43:13 +08:00
package mq
const (
DatasetRequest = iota + 10
DatasetResponse
)
type InstructionReq struct {
Command int `json:"command"`
Payload interface{} `json:"payload"`
}
type FileTransferInfo struct {
FileName string
FilePath string
DatasetId int
File string
IsCompress bool
FileMd5 string
}