Documentation ¶
Index ¶
Constants ¶
View Source
const EventIDUserRegistered stream.EventID = "UserRegistered"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer interface { // PostRegisteredEvent posts a UserRegistered event to the stream PostRegisteredEvent(ctx context.Context, ev *authevents.UserRegistered) error // Close gives underlying resources a chance to flush and close gracefully Close() error }
Writer can write to an event stream with predefined event types
Click to show internal directories.
Click to hide internal directories.