agent_api/messages/event.go

13 lines
125 B
Go
Raw Permalink Normal View History

2017-05-16 08:05:37 +00:00
package messages
type Event struct {
2017-05-16 08:13:28 +00:00
Type int
2017-05-16 08:05:37 +00:00
Id string
Data []byte
}
2017-05-16 08:13:28 +00:00
const (
EVT_TYPE_TASK = 1
EVT_TYPE_NONE = 2
)