MCPcopy
hub / github.com/grpc/grpc-go / GetBody

Method GetBody

interop/grpc_testing/messages.pb.go:391–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

389}
390
391func (x *Payload) GetBody() []byte {
392 if x != nil {
393 return x.Body
394 }
395 return nil
396}
397
398// A protobuf representation for grpc status. This is used by test
399// clients to specify a status that the server should attempt to return.

Callers 6

DoLargeUnaryCallFunction · 0.45
DoServerStreamingFunction · 0.45
DoPingPongFunction · 0.45
DoCustomMetadataFunction · 0.45
StreamingInputCallMethod · 0.45
doOneSoakIterationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected