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

Struct transport

internal/xds/clients/xdsclient/test/ads_stream_flow_control_test.go:113–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113type transport struct {
114 cc *grpc.ClientConn
115 adsStreamCh chan *stream
116}
117
118func (t *transport) NewStream(ctx context.Context, method string) (clients.Stream, error) {
119 s, err := t.cc.NewStream(ctx, &grpc.StreamDesc{ClientStreams: true, ServerStreams: true}, method)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected