package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Aug 27, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BrokerOpts struct {
Addr string `mapstructure:"addr"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
ID string `mapstructure:"id"`
Topic TopicOpts `mapstructure:"topic"`
}
type LogOpts struct {
Debug bool `mapstructure:"debug"`
}
type RunOpts struct {
Broker BrokerOpts `mapstructure:"broker"`
Scan ScanOpts `mapstructure:"scan"`
UI UIOpts `mapstructure:"ui"`
}
type ScanOpts struct {
Duration time.Duration `mapstructure:"duration"`
Interval time.Duration `mapstructure:"interval"`
CacheSize uint `mapstructure:"cache-size"`
}
type TopicOpts struct {
Pub string `mapstructure:"pub"`
Sub string `mapstructure:"sub"`
LWT string `mapstructure:"lwt"`
}
type UIOpts struct {
Enabled bool `mapstructure:"enabled"`
Addr string `mapstructure:"addr"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.