remove HTTP server

This commit is contained in:
2024-11-16 12:24:42 +07:00
parent 1f83105c8c
commit 50c86e82d7
14 changed files with 96 additions and 381 deletions

View File

@@ -15,7 +15,6 @@ type Config struct {
DeleteLogFileAtStart bool `yaml:"delete_log_file_at_start"`
LogToFile bool `yaml:"log_to_file"`
LogLevel string `yaml:"log_level"`
HTTPServer bool `yaml:"httpserver"`
TelnetServer bool `yaml:"telnetserver"`
FlexRadioSpot bool `yaml:"flexradiospot"`
} `yaml:"general"`
@@ -45,11 +44,6 @@ type Config struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
} `yaml:"telnetserver"`
HTTPServer struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
} `yaml:"httpserver"`
}
func NewConfig(configPath string) *Config {