hpds_jkw_web/mq/instruction.go

12 lines
162 B
Go
Raw Normal View History

2023-03-23 18:03:09 +08:00
package mq
const (
TaskAdd = iota + 1
ModelIssue
)
type InstructionReq struct {
Command int `json:"command"`
Payload interface{} `json:"payload"`
}