annotation/mq/instruction.go

18 lines
315 B
Go
Raw Permalink Normal View History

2023-05-12 16:53:21 +08:00
package mq
const (
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"`
}