mirror of https://github.com/grpc/grpc-go.git
transport: change `*http2Client` to interface `ClientTransport` (#7512)
This commit is contained in:
parent
c98235b960
commit
5d07b636a7
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue