12 lines
162 B
Go
12 lines
162 B
Go
|
package mq
|
||
|
|
||
|
const (
|
||
|
TaskAdd = iota + 1
|
||
|
ModelIssue
|
||
|
)
|
||
|
|
||
|
type InstructionReq struct {
|
||
|
Command int `json:"command"`
|
||
|
Payload interface{} `json:"payload"`
|
||
|
}
|