+ Refactoring of some functions + Added the retrying of all three connections + Added the documentation to the code + Improved the error messages
8 lines
298 B
Go
8 lines
298 B
Go
package main
|
|
|
|
const (
|
|
maxRetriesLocal = 16 // How many retries are allowed to create the local end-point?
|
|
maxRetriesRemote = 16 // How many retries are allowed to create the remote end-point?
|
|
maxRetriesServer = 16 // How many retries are allowed to create the SSH server's connection?
|
|
)
|