Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(configKey string) messagebus.Client
New instantiates a new client wrapper. A call to Initialize is required before use. The configKey parameter dictates which key in the configuration file will be read during initialization. If configKey is empty, the default value of "nats.url" will be used. The configuration can be in various formats, but the following is an example of a yaml file:
nats: url: 'nats://localhost:4222'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.