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

Struct grpcTransport

internal/xds/clients/grpctransport/grpc_transport.go:173–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173type grpcTransport struct {
174 cc *grpc.ClientConn
175
176 // cleanup is the function to be invoked for releasing the references to
177 // the gRPC transport each time Close() is called.
178 cleanup func()
179}
180
181// NewStream creates a new gRPC stream to the server for the specified method.
182func (g *grpcTransport) NewStream(ctx context.Context, method string) (clients.Stream, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected