Add more comments

This commit is contained in:
iamqizhao 2016-05-25 17:18:05 -07:00
parent 98c0b8aa3e
commit 9a14ca798d
1 changed files with 3 additions and 1 deletions

View File

@ -137,7 +137,9 @@ func Invoke(ctx context.Context, method string, args, reply interface{}, cc *Cli
err error err error
t transport.ClientTransport t transport.ClientTransport
stream *transport.Stream stream *transport.Stream
put func() // Record the put handler from Balancer.Get(...). It is called once the
// RPC has completed or failed.
put func()
) )
// TODO(zhaoq): Need a formal spec of fail-fast. // TODO(zhaoq): Need a formal spec of fail-fast.
callHdr := &transport.CallHdr{ callHdr := &transport.CallHdr{