annotation/mq/instruction.go

17 lines
285 B
Go
Raw Normal View History

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