Merge pull request #2748 from erictune/clean7

Rename watch.Mux -> watch.Broadcaster
This commit is contained in:
Daniel Smith
2014-12-04 11:09:43 -08:00
6 changed files with 47 additions and 47 deletions

View File

@@ -118,7 +118,7 @@ func GetEvents(f func(*api.Event)) watch.Interface {
const queueLen = 1000
var events = watch.NewMux(queueLen)
var events = watch.NewBroadcaster(queueLen)
// Event constructs an event from the given information and puts it in the queue for sending.
// 'object' is the object this event is about. Event will make a reference-- or you may also