Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultRouter ¶
NewDefaultRouter creates a new router with the default middlewares, in case your consumer would mandate a different setup, feel free to create your own router
func RestoreContext ¶
func RestoreContext(h message.HandlerFunc) message.HandlerFunc
RestoreContext ensures that the original context is restored after the handler is done processing the message.
This helps with https://github.com/ThreeDotsLabs/watermill/issues/467
Types ¶
Click to show internal directories.
Click to hide internal directories.