Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEventBus ¶ added in v0.2.0
func CreateEventBus(config RabbitMQConfig) (core.EventBus, error)
Types ¶
type EventBus ¶ added in v0.2.0
type EventBus struct {
// contains filtered or unexported fields
}
func (EventBus) Subscribe ¶ added in v0.2.0
func (bus EventBus) Subscribe(event reflect.Type, eventHandler core.EventHandler, retryOptions *core.RetryOptions) error
type RabbitMQConfig ¶ added in v0.2.0
type RabbitMQConfig struct {
Uri string
}
Click to show internal directories.
Click to hide internal directories.