Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
func HandleWithPayload ¶
func HandleWithPayload[T any](handler HandlerFuncWithPayload[T]) HandlerFunc
type HandlerFuncWithPayload ¶
type Message ¶
type Message struct {
ID string
Metadata Metadata
Payload Payload
// contains filtered or unexported fields
}
Message is the unit published and received. A received message is acknowledged from the result of the handler that processes it, see subscriber.Subscriber.
func (*Message) WithMetadata ¶
Click to show internal directories.
Click to hide internal directories.