Discover Packages
github.com/kyma-project/kyma/components/event-publisher-proxy
pkg
nats
package
Version:
v0.0.0-...-5cf3e1d
Opens a new window with list of versions in this module.
Published: Jan 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
WithRetryOnFailedConnect = nats.RetryOnFailedConnect
WithMaxReconnects = nats.MaxReconnects
WithReconnectWait = nats.ReconnectWait
WithName = nats.Name
)
Connect returns a NATS connection that is ready for use, or an error if connection to the NATS server failed.
It uses the nats.Connect function which is thread-safe.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.