Documentation ¶
Overview ¶
Package amqp implements an AMQP binding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeAMQPMessage ¶ added in v1.1.0
func EncodeAMQPMessage(ctx context.Context, m binding.Message, amqpMessage *amqp.Message, transformerFactories binding.TransformerFactories) error
Fill the provided amqpMessage with the message m. Using context you can tweak the encoding processing (more details on binding.Translate documentation).
Types ¶
type Message ¶
Message implements binding.Message by wrapping an *amqp.Message.
func NewMessage ¶ added in v1.1.0
func (*Message) Structured ¶
type SenderOptionFunc ¶ added in v0.11.0
type SenderOptionFunc func(sender *Sender)
func WithTranscoder ¶ added in v0.11.0
func WithTranscoder(factory binding.TransformerFactory) SenderOptionFunc
Click to show internal directories.
Click to hide internal directories.