Browse Source

client: wsc.String()

pull/456/head
Ethan Buchman 9 years ago
parent
commit
45f57198cc
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      client/ws_client.go

+ 4
- 0
client/ws_client.go 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()


Loading…
Cancel
Save