client: wsc.String()

This commit is contained in:
Ethan Buchman
2016-02-03 02:01:28 -05:00
parent fbc5ac8052
commit 45f57198cc
+4
View File
@@ -37,6 +37,10 @@ func NewWSClient(addr string) *WSClient {
return wsClient
}
func (wsc *WSClient) String() string {
return wsc.Address
}
func (wsc *WSClient) OnStart() error {
wsc.QuitService.OnStart()
err := wsc.dial()