Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultEventBus ¶
func (*DefaultEventBus) Publish ¶
func (d *DefaultEventBus) Publish(ctx context.Context, event Event) error
func (*DefaultEventBus) Subscribe ¶
func (d *DefaultEventBus) Subscribe(fn HandlerFunc)
type EventBus ¶
type EventBus interface { Subscribe(fn HandlerFunc) Publish(ctx context.Context, event Event) error }
EventBus type defines the bus interface structure.
type ProjectCreatedEvent ¶
Click to show internal directories.
Click to hide internal directories.