//
pkg.gl
Category
github.com/elastic/beats/v7
libbeat
common
bus
package
7.17.28
Repository:
https://github.com/elastic/beats.git
Documentation:
pkg.go.dev
Versions
2
Dependencies
3
Dependents
36
Files
117 SLOC
#
Functions
New
New initializes a new bus with the given name and returns it.
NewBusWithStore
NewBusWithStore allows to create a buffered bus when producers send data without listeners being subscribed to them.
#
Interfaces
Bus
Bus provides a common channel to emit and listen for Events.
Listener
Listener retrieves Events from a Bus subscription until Stop is called.
#
Type aliases
Event
Event sent to the bus.