more comments

This commit is contained in:
iamqizhao
2016-07-14 17:17:46 -07:00
parent e558cf17ff
commit 7ce43067bd

View File

@ -167,8 +167,9 @@ type Stream struct {
// nil for client side Stream.
st ServerTransport
// ctx is the associated context of the stream.
ctx context.Context
cancel context.CancelFunc
ctx context.Context
cancel context.CancelFunc
// earlyDone is closed when the final status arrives prematurely.
earlyDone chan struct{}
// method records the associated RPC method of the stream.
method string