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

Method Write

internal/binarylog/sink.go:45–45  ·  view source on GitHub ↗

Write will be called to write the log entry into the sink. It should be thread-safe so it can be called in parallel.

(*binlogpb.GrpcLogEntry)

Source from the content-addressed store, hash-verified

43 //
44 // It should be thread-safe so it can be called in parallel.
45 Write(*binlogpb.GrpcLogEntry) error
46 // Close will be called when the Sink is replaced by a new Sink.
47 Close() error
48}

Callers 15

sendResponseMethod · 0.65
CloseSendMethod · 0.65
sendMsgMethod · 0.65
CloseSendMethod · 0.65
SendMsgMethod · 0.65
SendMsgMethod · 0.65
DoMethod · 0.65
compressFunction · 0.65
mustCompressFunction · 0.65
WriteMethod · 0.65
hkdfExpandFunction · 0.65

Implementers 10

testConncredentials/alts/internal/conn/record_
noopConncredentials/alts/internal/conn/record_
testConncredentials/alts/internal/testutil/tes
unresponsiveTestConncredentials/alts/internal/testutil/tes
testBinLogSinkbinarylog/binarylog_end2end_test.go
pipetest/bufconn/bufconn.go
noopSinkinternal/binarylog/sink.go
writerSinkinternal/binarylog/sink.go
bufferedSinkinternal/binarylog/sink.go
ClientStreaminternal/transport/client_stream.go

Calls

no outgoing calls

Tested by 15

mustCompressFunction · 0.52
WriteMethod · 0.52
testPingPongFunction · 0.52
testSmallReadBufferFunction · 0.52
testLargeMsgFunction · 0.52
TestLargeRecordMethod · 0.52
BenchmarkLargeMessageFunction · 0.52
testFrameTooLargeFunction · 0.52
testWriteLargeDataFunction · 0.52
BenchmarkReadMemoryUsageFunction · 0.52