Documentation ¶
Index ¶
- Variables
- type EventArgs
- type EventBus
- func (eb *EventBus) AddWatcher(eventName string) (Watcher, error)
- func (eb *EventBus) ChannelNamePrefix() string
- func (eb *EventBus) Close() error
- func (eb *EventBus) Init(pubSub *redis.PubSub, options EventBusOptions) *EventBus
- func (eb *EventBus) IsClosed() bool
- func (eb *EventBus) RemoveWatcher(eventName string, wrappedWatcher Watcher) error
- type EventBusOptions
- type Watcher
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEventBusClosed error = errors.New("internal: event bus closed")
Functions ¶
This section is empty.
Types ¶
type EventBus ¶
type EventBus struct {
// contains filtered or unexported fields
}
func (*EventBus) ChannelNamePrefix ¶
func (*EventBus) Init ¶
func (eb *EventBus) Init(pubSub *redis.PubSub, options EventBusOptions) *EventBus
type EventBusOptions ¶
Click to show internal directories.
Click to hide internal directories.