mysql
This commit is contained in:
@ -14,10 +14,12 @@ type Config struct {
|
||||
General struct {
|
||||
DeleteLogFileAtStart bool `yaml:"delete_log_file_at_start"`
|
||||
LogToFile bool `yaml:"log_to_file"`
|
||||
Callsign string `yaml:"callsign"`
|
||||
LogLevel string `yaml:"log_level"`
|
||||
TelnetServer bool `yaml:"telnetserver"`
|
||||
FlexRadioSpot bool `yaml:"flexradiospot"`
|
||||
} `yaml:"general"`
|
||||
|
||||
Database struct {
|
||||
MySQL bool `yaml:"mysql"`
|
||||
SQLite bool `yaml:"sqlite"`
|
||||
@ -27,9 +29,9 @@ type Config struct {
|
||||
MySQLHost string `yaml:"mysql_host"`
|
||||
MySQLPort string `yaml:"mysql_port"`
|
||||
} `yaml:"database"`
|
||||
|
||||
SQLite struct {
|
||||
SQLitePath string `yaml:"sqlite_path"`
|
||||
Callsign string `yaml:"callsign"`
|
||||
} `yaml:"sqlite"`
|
||||
|
||||
Cluster struct {
|
||||
|
Reference in New Issue
Block a user