Merge pull request #210 from WeiZhang555/event-types-constant
Move event types constants into single file
This commit is contained in:
commit
c0295fac04
8 changed files with 20 additions and 8 deletions
|
@ -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(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue