Loop: catch reconnection errors; writeLoop: only log.Print if Debug

This commit is contained in:
joe
2013-09-25 23:37:11 -04:00
parent 14b5cb8b16
commit c10849b4c0
3 changed files with 15 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ import (
)
type Connection struct {
Debug bool
Error chan error
Password string
UseTLS bool