hpds_control_center/mq/instruction.go

16 lines
229 B
Go
Raw Normal View History

2023-03-23 15:58:12 +08:00
package mq
const (
TaskAdd = iota + 1
ModelIssue
TaskExecute
TaskResponse
ModelIssueRepeater
ModelIssueResponse
)
type InstructionReq struct {
Command int `json:"command"`
Payload interface{} `json:"payload"`
}