Commit graph

6 commits

Author SHA1 Message Date
Zach Klippenstein 9f7d11a3bc Refactored ClientConfig into a Server interface.
* StartServer is now a method on Server.
* What used to be Dialer.Dial is now Server.Dial.
* Server.Dial handles trying to start the server if the initial connection fails.
* Dialer now dials a network address.
* All types that took a Dialer now take a Server.
* Server now has tests!
2016-01-10 14:01:58 -08:00
Zach Klippenstein 325901c2c3 Fixed bug where tried closing a single net.Conn multiple times. 2015-12-30 00:02:30 -08:00
Zach Klippenstein 0aa31c0548 If dialing the server fails initially, attempt to start the server and retry. 2015-09-07 16:06:20 -07:00
Zach Klippenstein 164ab27d25 Implemented device event watcher and improved errors. 2015-07-19 12:45:24 -07:00
Zach Klippenstein 34b3a07ca8 Richer error handling. 2015-07-12 00:37:58 -07:00
Zach Klippenstein 0817d29438 Decoupled clients from each other. 2015-07-11 23:21:10 -07:00
Renamed from wire/dialer.go (Browse further)