Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FireEvent ¶
FireEvent Fires a given event name with args. Args will be passed to all registered listeners. Returns a slice of results, each result is a slice of interface {}, representing the return value of each call.
func RegisterListener ¶
func RegisterListener(eventName string, listener interface{})
RegisterListener registers a listener with a event name. The listener should be a function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.