Documentation ¶
Overview ¶
Package events provides a basic event framework for murex
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEventType ¶
AddEventType registers your event type handlers
func Callback ¶
func Callback(name string, interrupt interface{}, block []rune, fileRef *ref.File, stdout stdio.Io, background bool)
Callback is a generic function your event handlers types should hook into so murex functions can remain consistent.
func DumpEvents ¶
func DumpEvents() (dump map[string]interface{})
DumpEvents is used for `runtime` to output all the saved events
Types ¶
Click to show internal directories.
Click to hide internal directories.