Use StreamClient interface in StreamManager

This commit is contained in:
Mickael Remond
2019-06-08 18:52:19 +02:00
committed by Mickaël Rémond
parent 021f6d3740
commit 736a60cd1b
5 changed files with 40 additions and 31 deletions

View File

@@ -12,7 +12,7 @@ type Config struct {
Password string
PacketLogger *os.File // Used for debugging
Lang string // TODO: should default to 'en'
ConnectTimeout int // Connection timeout in seconds. Default to 15
ConnectTimeout int // Client timeout in seconds. Default to 15
// Insecure can be set to true to allow to open a session without TLS. If TLS
// is supported on the server, we will still try to use it.
Insecure bool