code: func NewDispatcher() core.Dispatcher {
  	dis := new(dispatcher)
  	//dis.Logger = logger
  	dis.listeners = make(map[string][]core.EventListener)
  	return dis
  }
docs: // NewDispatcher is a new dispatcher for listeners