folder_monitoring/mq/instruction.go

21 lines
318 B
Go

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
}