//
pkg.gl
Category
google.golang.org/grpc
peer
package
1.72.0-dev
Repository:
https://github.com/grpc/grpc-go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
3.3k
Files
50 SLOC
#
Functions
FromContext
FromContext returns the peer information in ctx if it exists.
NewContext
NewContext creates a new context with peer information attached.
#
Structs
Peer
Peer contains the information of the peer for an RPC, such as the address and authentication information.