package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Packages

Package xds contains non-user facing functionality of the xds credentials.

# Functions

AppendH2ToNextProtos appends h2 to next protos.
ClientHandshakeInfoFromContext extracts the ClientHandshakeInfo from ctx.
CloneTLSConfig returns a shallow clone of the exported fields of cfg, ignoring the unexported sync.Once, which contains a mutex and must not be copied.
NewClientHandshakeInfoContext creates a context with chi.
NewRequestInfoContext creates a context with ri.
RequestInfoFromContext extracts the RequestInfo from ctx.
SPIFFEIDFromCert parses the SPIFFE ID from x509.Certificate.
SPIFFEIDFromState parses the SPIFFE ID from State.
WrapSyscallConn tries to wrap rawConn and newConn into a net.Conn that implements syscall.Conn.