This commit is contained in:
2024-10-22 00:32:59 +07:00
parent ecedb0ea5d
commit 83816777b7
7 changed files with 363 additions and 841 deletions

View File

@ -60,10 +60,10 @@ func main() {
// Load country.xml to get all the DXCC
Countries := LoadCountryFile()
fRepo := NewFlexDXDatabase("flex.sqlite", log)
fRepo := NewFlexDXDatabase("flex.sqlite")
defer fRepo.db.Close()
cRepo := NewLog4OMContactsRepository(cfg.SQLite.SQLitePath, log)
cRepo := NewLog4OMContactsRepository(cfg.SQLite.SQLitePath)
defer cRepo.db.Close()
TCPServer := NewTCPServer(cfg.TelnetServer.Host, cfg.TelnetServer.Port, log)