| 65 | var testSink = &testBinLogSink{} |
| 66 | |
| 67 | type testBinLogSink struct { |
| 68 | mu sync.Mutex |
| 69 | buf []*binlogpb.GrpcLogEntry |
| 70 | } |
| 71 | |
| 72 | func (s *testBinLogSink) Write(e *binlogpb.GrpcLogEntry) error { |
| 73 | s.mu.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected