const ( // ErrGeneral is emitted for general errors ErrGeneral = "general:err" // ErrPanic is emitted when a panic is recovered ErrPanic = "panic:err" )
const Version = "v1.1.8"
Emit an event to all listeners
List all listeners
LoadPlugins will add listeners for any plugins that support "events"
SetManager allows you to replace the default event manager with a custom one
type DeleteFn func()
Listen for events.
NamedListen for events. Name is the name of the listener NOT the events you want to listen for, so something like "my-listener", "kafka-listener", etc...
Event represents different events in the lifecycle of a Buffalo app
MarshalJSON implements the json marshaler for an event
Validate that an event is ready to be emitted
Listener is a function capable of handling events
Filter compiles the string as a regex and returns the original listener wrapped in a new listener that filters incoming events by the Kind
Manager can be implemented to replace the default events manager
DefaultManager implements a map backed Manager