package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: May 13, 2023
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Broker is a nats-jetstream based broker implementation.
New() returns a new instance of nats-jetstream broker.
type Options struct {
URL string `yaml:"url"`
EnabledAuth bool `yaml:"enabled_auth"`
Username string `yaml:"username"`
Password string `yaml:"password"`
Streams map[string][]string `yaml:"streams"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.