diff --git a/messages/event.go b/messages/event.go index 175838d..aeb8289 100644 --- a/messages/event.go +++ b/messages/event.go @@ -1,7 +1,12 @@ package messages type Event struct { - Type string + Type int Id string Data []byte } + +const ( + EVT_TYPE_TASK = 1 + EVT_TYPE_NONE = 2 +)