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 New ¶
func New() Broadcaster
func (*Broadcaster) DeRegister ¶
func (b *Broadcaster) DeRegister(client chan []byte)
func (*Broadcaster) Register ¶
func (b *Broadcaster) Register() chan []byte
func (*Broadcaster) Send ¶
func (b *Broadcaster) Send(data []byte)
func (*Broadcaster) Serve ¶
func (b *Broadcaster) Serve()
func (*Broadcaster) Stop ¶
func (b *Broadcaster) Stop()
Click to show internal directories.
Click to hide internal directories.