transport: change `*http2Client` to interface `ClientTransport` (#7512)

This commit is contained in:
Ricardo Fernández 2024-08-15 09:09:27 -07:00 committed by GitHub
parent c98235b960
commit 5d07b636a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ const (
type Stream struct {
id uint32
st ServerTransport // nil for client side Stream
ct *http2Client // nil for server side Stream
ct ClientTransport // nil for server side Stream
ctx context.Context // the associated context of the stream
cancel context.CancelFunc // always nil for client side Stream
done chan struct{} // closed at the end of stream to unblock writers. On the client side.