Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bind ¶
func Bind[T comparable](input Message) (T, error)
Types ¶
type FormSubmittedEvent ¶
type PubSub ¶
type PubSub struct {
// contains filtered or unexported fields
}
PubSub simple pub-sub implementation. Works locally using in-memory store. No persistence, no semaphores. Should do the job until we switch to a real bus (e.g. Kafka).
func (*PubSub) RegisterHandler ¶
type UserRegisteredEvent ¶
type UserRegisteredEvent struct {
UserID int64
}
type WithdrawalCreatedEvent ¶
Click to show internal directories.
Click to hide internal directories.