Method
after
(_ *callInfo, attempt *csAttempt)
Source from the content-addressed store, hash-verified
| 304 | |
| 305 | func (o TrailerCallOption) before(*callInfo) error { return nil } |
| 306 | func (o TrailerCallOption) after(_ *callInfo, attempt *csAttempt) { |
| 307 | *o.TrailerAddr = attempt.transportStream.Trailer() |
| 308 | } |
| 309 | |
| 310 | // Peer returns a CallOption that retrieves peer information for a unary RPC. |
| 311 | // The peer field will be populated *after* the RPC completes. |
Callers
nothing calls this directly
Tested by
no test coverage detected