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

Method Peer

internal/transport/transport.go:646–646  ·  view source on GitHub ↗

Peer returns information about the peer associated with the Transport. The returned information includes authentication and network address details.

()

Source from the content-addressed store, hash-verified

644 // Peer returns information about the peer associated with the Transport.
645 // The returned information includes authentication and network address details.
646 Peer() *peer.Peer
647}
648
649// ServerTransport is the common interface for all gRPC server-side transport

Callers 4

serveStreamsMethod · 0.65
handleStreamMethod · 0.65
getTransportMethod · 0.65
securityLevelLockedMethod · 0.65

Implementers 1

http2Clientinternal/transport/http2_client.go

Calls

no outgoing calls

Tested by

no test coverage detected