()
| 66 | } |
| 67 | |
| 68 | func (t *TokenRenewer) installHandlers() { |
| 69 | t.client.OnConnect(t.startRenewLoop) |
| 70 | t.client.OnTokenExpire(t.sendRenewTokenSignal) |
| 71 | t.client.OnDisconnect(t.sendDisconnectSignal) |
| 72 | } |
| 73 | |
| 74 | func (t *TokenRenewer) renewLoop() { |
| 75 | t.renewLoopWG.Add(1) |
nothing calls this directly
no test coverage detected