MCPcopy Index your code
hub / github.com/koding/kite / authCopy

Method authCopy

client.go:294–304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

292}
293
294func (c *Client) authCopy() *Auth {
295 c.authMu.Lock()
296 defer c.authMu.Unlock()
297
298 if c.Auth == nil {
299 return nil
300 }
301
302 authCopy := *c.Auth
303 return &authCopy
304}
305
306func (c *Client) dial(timeout time.Duration) (err error) {
307 transport := c.config().Transport

Callers 1

wrapMethodArgsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected