MCPcopy Create free account
hub / github.com/koding/kite / installHandlers

Method installHandlers

tokenrenewer.go:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68func (t *TokenRenewer) installHandlers() {
69 t.client.OnConnect(t.startRenewLoop)
70 t.client.OnTokenExpire(t.sendRenewTokenSignal)
71 t.client.OnDisconnect(t.sendDisconnectSignal)
72}
73
74func (t *TokenRenewer) renewLoop() {
75 t.renewLoopWG.Add(1)

Callers

nothing calls this directly

Calls 3

OnTokenExpireMethod · 0.80
OnConnectMethod · 0.45
OnDisconnectMethod · 0.45

Tested by

no test coverage detected