feat: port config; print docx link.
This commit is contained in:
@@ -41,12 +41,17 @@ type MQTTConfig struct {
|
||||
}
|
||||
|
||||
type AppConfig struct {
|
||||
Server ServerConfig `mapstructure:"server" yaml:"server"`
|
||||
DB DBConfig `mapstructure:"database" yaml:"database"`
|
||||
AI AIConfig `mapstructure:"ai" yaml:"ai"`
|
||||
MQTT MQTTConfig `mapstructure:"mqtt" yaml:"mqtt"`
|
||||
Swagger SwaggerConfig `mapstructure:"swagger" yaml:"swagger"`
|
||||
}
|
||||
|
||||
type ServerConfig struct {
|
||||
Port string `mapstructure:"port" yaml:"port"`
|
||||
}
|
||||
|
||||
type SwaggerConfig struct {
|
||||
Enabled bool `mapstructure:"enabled" yaml:"enabled"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user