balancer: add clarifying note to PickOptions.Header (#2377)
This commit is contained in:
@ -155,7 +155,8 @@ type PickOptions struct {
|
|||||||
// FullMethodName is the method name that NewClientStream() is called
|
// FullMethodName is the method name that NewClientStream() is called
|
||||||
// with. The canonical format is /service/Method.
|
// with. The canonical format is /service/Method.
|
||||||
FullMethodName string
|
FullMethodName string
|
||||||
// Header contains the metadata from the RPC's client header.
|
// Header contains the metadata from the RPC's client header. The metadata
|
||||||
|
// should not be modified; make a copy first if needed.
|
||||||
Header metadata.MD
|
Header metadata.MD
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user