Skip to content

Commit

Permalink
transport: change *http2Client to interface ClientTransport (grpc…
Browse files Browse the repository at this point in the history
  • Loading branch information
printchard authored and infovivek2020 committed Aug 18, 2024
1 parent 3fb3b2e commit 2478bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/transport/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2478bd4

Please sign in to comment.