package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Sep 28, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
URL string `koanf:"url"`
ClusterID string `koanf:"clusterid"`
}
type Streaming struct {
Conn stan.Conn
Logger *zap.Logger
}
New creates a new connection to nats cluster with streaming support.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.