startKeepalive starts the keepalive mechanism for this client session.
(interval time.Duration)
| 405 | |
| 406 | // startKeepalive starts the keepalive mechanism for this client session. |
| 407 | func (cs *ClientSession) startKeepalive(interval time.Duration) { |
| 408 | startKeepalive(cs, interval, &cs.keepaliveCancel, cs.client.opts.Logger) |
| 409 | } |
| 410 | |
| 411 | // AddRoots adds the given roots to the client, |
| 412 | // replacing any with the same URIs, |
no test coverage detected