Skip to content

Commit 5d07b63

Browse files
authored
transport: change *http2Client to interface ClientTransport (#7512)
1 parent c98235b commit 5d07b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/transport/transport.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ const (
241241
type Stream struct {
242242
id uint32
243243
st ServerTransport // nil for client side Stream
244-
ct *http2Client // nil for server side Stream
244+
ct ClientTransport // nil for server side Stream
245245
ctx context.Context // the associated context of the stream
246246
cancel context.CancelFunc // always nil for client side Stream
247247
done chan struct{} // closed at the end of stream to unblock writers. On the client side.

0 commit comments

Comments
 (0)