client: wsc.String()
This commit is contained in:
parent
fbc5ac8052
commit
45f57198cc
|
@ -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…
Reference in New Issue