2023-05-12 16:53:21 +08:00
|
|
|
package mq
|
|
|
|
|
|
|
|
const (
|
2023-06-09 17:43:08 +08:00
|
|
|
DatasetRequest = iota + 10
|
2023-05-12 16:53:21 +08:00
|
|
|
DataLabelRequest = iota + 12
|
|
|
|
DataLabelResponse
|
|
|
|
)
|
|
|
|
|
|
|
|
type InstructionReq struct {
|
|
|
|
Command int `json:"command"`
|
|
|
|
Payload interface{} `json:"payload"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type DataLabelRes struct {
|
|
|
|
NodeGuid string `json:"nodeGuid"`
|
|
|
|
Body interface{} `json:"body"`
|
|
|
|
}
|