package
Version:
v0.0.0-...-86416d2
Opens a new window with list of versions in this module.
Published: May 13, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Brokers []string `mapstructure:"brokers"`
TLS *TLS `mapstructure:"tls"`
SASL *SASL `mapstructure:"sasl"`
SSH *ssh.Config `mapstructure:"ssh_tunnel"`
}
type SASL struct {
Mechanism string `mapstructure:"mechanism"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
}
type TLS struct {
Insecure bool `mapstructure:"insecure"`
CAFile string `mapstructure:"cafile"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.