Loop: catch reconnection errors; writeLoop: only log.Print if Debug
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
)
|
||||
|
||||
type Connection struct {
|
||||
Debug bool
|
||||
Error chan error
|
||||
Password string
|
||||
UseTLS bool
|
||||
|
||||
Reference in New Issue
Block a user