package
1.4.4
Repository: https://github.com/threedotslabs/watermill.git
Documentation: pkg.go.dev

# Functions

NewCommandHandler creates a new CommandHandler which supports the request-reply pattern.
NewCommandHandlerWithResult creates a new CommandHandler which supports the request-reply pattern with a result.
NewPubSubBackend creates a new PubSubBackend.
SendWithReplies sends command to the command bus and receives a replies of the command handler.
SendWithReply sends command to the command bus and receives a replies of the command handler.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
CommandHandlerError is returned when the command handler returns an error.
NoResult is a result type for commands that don't have result.
PubSubBackend is a Backend that uses Pub/Sub to transport commands and replies.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReplyTimeoutError is returned when the reply timeout is exceeded.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

OperationID is a unique identifier of a command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author