# Functions
NatsOptions is a helper function to group a variadic nats.ProtocolOption into []nats.Option that can be used by either Sender, Consumer or Protocol.
No description provided by the author
No description provided by the author
NewMessage wraps an *nats.Msg in a binding.Message.
NewProtocol creates a new NATS protocol.
No description provided by the author
NewReceiver creates a new protocol.Receiver responsible for receiving messages.
NewSender creates a new protocol.Sender responsible for opening and closing the NATS connection.
NewSenderFromConn creates a new protocol.Sender which leaves responsibility for opening and closing the NATS connection to the caller.
No description provided by the author
WithQueueSubscriber configures the Consumer to join a queue group when subscribing.
No description provided by the author
WriteMsg fills the provided writer with the bindings.Message m.
# Variables
No description provided by the author
# Structs
No description provided by the author
Message implements binding.Message by wrapping an *nats.Msg.
Protocol is a reference implementation for using the CloudEvents binding integration.
QueueSubscriber creates queue subscriptions.
No description provided by the author
RegularSubscriber creates regular subscriptions.
No description provided by the author
# Interfaces
The Subscriber interface allows us to configure how the subscription is created.
# Type aliases
No description provided by the author
ProtocolOption is the function signature required to be considered an nats.ProtocolOption.
No description provided by the author