From 45f57198cc54e5db21f66dc30726d0ef8fab1311 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 3 Feb 2016 02:01:28 -0500 Subject: [PATCH] client: wsc.String() --- client/ws_client.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/ws_client.go b/client/ws_client.go index a2506585b..f7a23fca8 100644 --- a/client/ws_client.go +++ b/client/ws_client.go @@ -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()