google.golang.org/grpc/internal/transport.CallHdr.PreviousAttempts (field)
4 uses
google.golang.org/grpc/internal/transport (current package)
http2_client.go#L443: if callHdr.PreviousAttempts > 0 {
http2_client.go#L444: headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-previous-rpc-attempts", Value: strconv.Itoa(callHdr.PreviousAttempts)})
transport.go#L611: PreviousAttempts int // value of grpc-previous-rpc-attempts header to set
google.golang.org/grpc
stream.go#L374: cs.callHdr.PreviousAttempts = cs.numRetries
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |