MCPcopy
hub / github.com/grpc/grpc-go / updateConnectionError

Method updateConnectionError

clientconn.go:1817–1821  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

1815}
1816
1817func (cc *ClientConn) updateConnectionError(err error) {
1818 cc.lceMu.Lock()
1819 cc.lastConnectionError = err
1820 cc.lceMu.Unlock()
1821}
1822
1823func (cc *ClientConn) connectionError() error {
1824 cc.lceMu.Lock()

Callers 1

tryAllAddrsMethod · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected