package
0.0.0-20250204080417-ad8b278ec5b7
Repository: https://github.com/bluetuith-org/api-native.git
Documentation: pkg.go.dev
# Functions
DefaultHandler returns the default event handler.
DisableEvents unregisters the event handler.
NilHandler returns a disabled event handler.
Publish calls the registered publisher handler.
RegisterEventHandler registers the event handler interface.
RegisterEventHandlers registers the event publisher and subscriber interfaces separately.
Subscribe calls the registered subscriber handler.
# Structs
SubscriberID represents a subcriber ID.
# Interfaces
EventHandler represents an interface that provides an event publisher and subscriber.
EventID represents a unique event ID.
EventPublisher represents an interface that provides an event publisher.
EventSubscriber represents an interface that provides an event subscriber.
# Type aliases
No description provided by the author