Merge pull request #210 from WeiZhang555/event-types-constant
Move event types constants into single file
This commit is contained in:
@@ -207,7 +207,7 @@ func (s *Supervisor) Events(from time.Time) chan Event {
|
||||
}
|
||||
// Notify the client that from now on it's live events
|
||||
c <- Event{
|
||||
Type: "live",
|
||||
Type: StateLive,
|
||||
Timestamp: time.Now(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user