# Functions

New creates a new NATS transport.
WithEncoding sets the encoding for NATS transport.
WithPath sets the path to receive cloudevents on for SNS transports.
WithPort sets the listening port for StartReceiver.
WithShutdownTimeout sets the shutdown timeout when the http server is being shutdown.

# Constants

DefaultShutdownTimeout defines the default timeout given to the http.Server when calling Shutdown.
TransportName is the name of this transport.

# Structs

Transport acts as both a http client and a http handler.

# Type aliases

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