18 lines
315 B
Go
18 lines
315 B
Go
package mq
|
|
|
|
const (
|
|
DatasetRequest = iota + 10
|
|
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"`
|
|
}
|