Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveDesc ¶
Types ¶
type Listener ¶
type Listener struct {
Channel chan parser.SBabelUpdate
}
Listener unique channel for each ws
func NewListener ¶
func NewListener() *Listener
NewListener function to call if you want a new Listener
type Listenergroup ¶
Listenergroup list of all the Listeners for the multicast
func NewListenerGroup ¶
func NewListenerGroup() *Listenergroup
NewListenerGroup function to call if you want a new Listenergroup
func (*Listenergroup) Flush ¶
func (g *Listenergroup) Flush(l *Listener)
Flush remove a Listener from the Listenergroup
func (*Listenergroup) Iter ¶
func (g *Listenergroup) Iter(routine func(*Listener))
Iter Call the routine for each Listener
func (*Listenergroup) Push ¶
func (g *Listenergroup) Push(newListener *Listener)
Push add a Listener to the Listenergroup
Click to show internal directories.
Click to hide internal directories.