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

Method SetRemoteAddr

trace.go:83–87  ·  view source on GitHub ↗
(addr net.Addr)

Source from the content-addressed store, hash-verified

81}
82
83func (f *firstLine) SetRemoteAddr(addr net.Addr) {
84 f.mu.Lock()
85 f.remoteAddr = addr
86 f.mu.Unlock()
87}
88
89func (f *firstLine) String() string {
90 f.mu.Lock()

Callers 1

getTransportMethod · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected