Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler func()
type EventManager ¶
type EventManager struct {
// contains filtered or unexported fields
}
func NewEventManager ¶
func NewEventManager() *EventManager
func (*EventManager) Emit ¶
func (m *EventManager) Emit(eventType EventType)
func (*EventManager) Subscribe ¶
func (m *EventManager) Subscribe(eventType EventType, handler EventHandler)
Click to show internal directories.
Click to hide internal directories.