Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // Key sets the key of the message for routing policy Key string // Payload for the message Payload []byte // Properties attach application defined properties on the message Properties map[string]string }
Event is an abstraction for all messages that are sent to queue or received from queue.
type Handler ¶
Handler is a callback function that processes messages delivered to asynchronous subscribers.
Click to show internal directories.
Click to hide internal directories.