feat: start record.

This commit is contained in:
2026-04-28 18:52:03 +08:00
parent 2464617599
commit 9a95130488
7 changed files with 251 additions and 15 deletions
+11 -9
View File
@@ -27,15 +27,17 @@ type AIConfig struct {
}
type MQTTConfig struct {
Enabled bool `mapstructure:"enabled" yaml:"enabled"`
Host string `mapstructure:"host" yaml:"host"`
Port int `mapstructure:"port" yaml:"port"`
Username string `mapstructure:"username" yaml:"username"`
Password string `mapstructure:"password" yaml:"password"`
ClientIDPrefix string `mapstructure:"client_id_prefix" yaml:"client_id_prefix"`
Region string `mapstructure:"region" yaml:"region"`
UseTLS bool `mapstructure:"use_tls" yaml:"use_tls"`
QoS int `mapstructure:"qos" yaml:"qos"`
Enabled bool `mapstructure:"enabled" yaml:"enabled"`
Host string `mapstructure:"host" yaml:"host"`
Port int `mapstructure:"port" yaml:"port"`
Username string `mapstructure:"username" yaml:"username"`
Password string `mapstructure:"password" yaml:"password"`
ClientIDPrefix string `mapstructure:"client_id_prefix" yaml:"client_id_prefix"`
Region string `mapstructure:"region" yaml:"region"`
UseTLS bool `mapstructure:"use_tls" yaml:"use_tls"`
QoS int `mapstructure:"qos" yaml:"qos"`
EnableMeasurementSubscriptions bool `mapstructure:"enable_measurement_subscriptions" yaml:"enable_measurement_subscriptions"`
EnableTrainingEventSubscription bool `mapstructure:"enable_training_event_subscription" yaml:"enable_training_event_subscription"`
}
type AppConfig struct {