Merge pull request #114 from mlaventure/events-stream-log-end-event

Add a new "live" Event type
This commit is contained in:
Michael Crosby 2016-02-26 10:10:18 -08:00
commit 2868670ba6
1 changed files with 5 additions and 0 deletions

View File

@ -168,6 +168,11 @@ func (s *Supervisor) Events(from time.Time) chan Event {
}
}
}
// Notify the client that from now on it's live events
c <- Event{
Type: "live",
Timestamp: time.Now(),
}
return c
}