retry connect flex

This commit is contained in:
2024-10-23 23:31:29 +07:00
parent f1dbcb4e2b
commit 1b3f5f908b
6 changed files with 50 additions and 45 deletions

View File

@ -68,7 +68,7 @@ func main() {
TCPServer := NewTCPServer(cfg.TelnetServer.Host, cfg.TelnetServer.Port, log)
FlexClient := NewFlexClient(*fRepo, TCPServer, log)
FlexClient := NewFlexClient(*fRepo, TCPServer)
TCPClient := NewTCPClient(TCPServer, FlexClient, log, Countries)
HTTPServer := NewHTTPServer(*cRepo, *fRepo, FlexClient, TCPServer, log)