package
Version:
v1.0.8
Opens a new window with list of versions in this module.
Published: Oct 8, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ConnectionConfig struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
Username string `yaml:"username"`
Password string `yaml:"password"`
ClientIDPrefix string `yaml:"client_id_prefix"`
TLSCaPath string `yaml:"tls_ca_path"`
TLSInsecure bool `yaml:"tls_insecure"`
}
type HTTPConfig struct {
Enabled bool `yaml:"enabled"`
Bind string `yaml:"bind"`
}
type MapConfig struct {
MinRefreshInt time.Duration `yaml:"min_refresh_int"`
Scale float64 `yaml:"scale"`
RotationTimes int `yaml:"rotate"`
CustomLimits struct {
StartX int `yaml:"start_x"`
StartY int `yaml:"start_y"`
EndX int `yaml:"end_x"`
EndY int `yaml:"end_y"`
} `yaml:"custom_limits"`
}
type TopicsConfig struct {
ValetudoPrefix string `yaml:"valetudo_prefix"`
ValetudoIdentifier string `yaml:"valetudo_identifier"`
HaAutoconfPrefix string `yaml:"ha_autoconf_prefix"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.