Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broadcaster ¶
type Broadcaster struct {
// contains filtered or unexported fields
}
func NewBroadcaster ¶
func NewBroadcaster(readCh chan []byte) *Broadcaster
func (*Broadcaster) Add ¶
func (b *Broadcaster) Add(w io.Writer)
func (*Broadcaster) Close ¶
func (b *Broadcaster) Close()
func (*Broadcaster) Remove ¶
func (b *Broadcaster) Remove(w io.Writer)
func (*Broadcaster) Run ¶
func (b *Broadcaster) Run()
func (*Broadcaster) Write ¶
func (b *Broadcaster) Write(data []byte)
Click to show internal directories.
Click to hide internal directories.