Documentation
¶
Overview ¶
Telemetry client config, vending machine side. Separate package is workaround to import cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Enabled bool `hcl:"enable"`
VmId int `hcl:"vm_id"`
LogDebug bool `hcl:"log_debug"`
KeepaliveSec int `hcl:"keepalive_sec"`
PingTimeoutSec int `hcl:"ping_timeout_sec"`
MqttBroker string `hcl:"mqtt_broker"`
MqttLogDebug bool `hcl:"mqtt_log_debug"`
MqttPassword string `hcl:"mqtt_password"` // secret
NetworkTimeoutSec int `hcl:"network_timeout_sec"`
StateIntervalSec int `hcl:"state_interval_sec"`
TlsCaFile string `hcl:"tls_ca_file"`
TlsPsk string `hcl:"tls_psk"` // secret
StorePath string `hcl:"store_path"`
PersistPath string `hcl:"-"`
GetInventory func() interface{} `hcl:"-"`
FIXME_stopDelaySec int `hcl:"-"`
BuildVersion string `hcl:"-"`
}
Click to show internal directories.
Click to hide internal directories.