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

Method sendDisconnectSignal

tokenrenewer.go:135–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135func (t *TokenRenewer) sendDisconnectSignal() {
136 // Needs to be non-blocking because tokenRenewer may be stopped.
137 select {
138 case t.disconnect <- struct{}{}:
139 default:
140 }
141}
142
143// renewToken gets a new token from a kontrolClient, parses it and sets it as the token.
144func (t *TokenRenewer) renewToken() error {

Callers 1

startRenewLoopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected