17 lines
285 B
Go
17 lines
285 B
Go
|
package mq
|
||
|
|
||
|
const (
|
||
|
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"`
|
||
|
}
|