func NewListenerGroup() *Listenergroup {
	lg := new(Listenergroup)
	lg.listeners = list.New()
	return lg
}
NewListenerGroup function to call if you want a new Listenergroup
package ws
import (
	"container/list"
	"sync"
	"github.com/Vivena/babelweb2/parser"
)
type Listener struct {
	Channel chan parser.SBabelUpdate
}
func NewListener() *Listener {
	l := new(Listener)
	l.Channel = make(chan parser.SBabelUpdate)
	return l
}
type Listenergroup struct {
	sync.Mutex
	listeners *list.List
}