event_controller.go
func (e *EventController) UnregisterHandler(n string) error {

	e.handlerMutex.Lock()
	delete(e.Handlers, n)
	e.handlerMutex.Unlock()

	return nil
}
func (e *EventController) UnregisterHandler(n string) error {

	e.handlerMutex.Lock()
	delete(e.Handlers, n)
	e.handlerMutex.Unlock()

	return nil
}
// Unregisters Handler from the EventController. This is idempotent where if a Handler is
// not registered no error is returned.