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

Method GetTrailer

binarylog/grpc_binarylog_v1/binarylog.pb.go:374–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

372}
373
374func (x *GrpcLogEntry) GetTrailer() *Trailer {
375 if x != nil {
376 if x, ok := x.Payload.(*GrpcLogEntry_Trailer); ok {
377 return x.Trailer
378 }
379 }
380 return nil
381}
382
383func (x *GrpcLogEntry) GetPayloadTruncated() bool {
384 if x != nil {

Callers 3

equalLogEntryFunction · 0.80
TestCanceledStatusMethod · 0.80
buildGCPLoggingEntryMethod · 0.80

Calls

no outgoing calls

Tested by 2

equalLogEntryFunction · 0.64
TestCanceledStatusMethod · 0.64