package
2.0.2
Repository: https://github.com/ian-mi/sdk-go.git
Documentation: pkg.go.dev

# Functions

New creates a new NATS protocol.
Wrap an *nats.Msg in a binding.Message.
WithConnOptions supplies NATS connection options that will be used when setting up the internal NATS connection.
Add a transformer, which Protocol uses while encoding a binding.Message to an nats.Message.
Fill the provided natsMessage with the bindings.Message m.

# Structs

Message implements binding.Message by wrapping an *nats.Msg.
Protocol is a reference implementation for using the CloudEvents binding integration.

# Type aliases

Option is the function signature required to be considered an nats.Option.