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

Function newTestClientStream

internal/transport/transport_test.go:2776–2786  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2774}
2775
2776func newTestClientStream() *ClientStream {
2777 return &ClientStream{
2778 Stream: Stream{
2779 buf: recvBuffer{
2780 c: make(chan recvMsg),
2781 },
2782 },
2783 done: make(chan struct{}),
2784 headerChan: make(chan struct{}),
2785 }
2786}
2787
2788func newTestHTTP2Client(cs *ClientStream) *http2Client {
2789 return &http2Client{

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected