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

Struct testBinLogSink

binarylog/binarylog_end2end_test.go:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65var testSink = &testBinLogSink{}
66
67type testBinLogSink struct {
68 mu sync.Mutex
69 buf []*binlogpb.GrpcLogEntry
70}
71
72func (s *testBinLogSink) Write(e *binlogpb.GrpcLogEntry) error {
73 s.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected