tele_config

package
v0.240110.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2024 License: CC0-1.0 Imports: 0 Imported by: 0

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
	StorePath      string `hcl:"store_path"`

	NetworkRestartTimeout int    `hcl:"network_restart_timeout_sec"`
	NetworkRestartScript  string `hcl:"network_restart_script"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL