Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Events ¶
type Events interface { // Event dispatches an Event event. Event(event Event) // EventWithContext accepts a context too. EventWithContext(ctx context.Context, event Event) // EventWithContextAndError combines the features of EventWithContext and EventWithError. EventWithContextAndError(ctx context.Context, event Event) error // EventWithError returns an error when something goes wrong during dispatching the event. EventWithError(event Event) error }
go:generate go run sagikazarmark.dev/mga generate event dispatcher --outdir . Events +mga:event:dispatcher
Click to show internal directories.
Click to hide internal directories.