MCPcopy
hub / github.com/github/gh-ost / BinlogReader

Interface BinlogReader

go/binlog/binlog_reader.go:10–13  ·  view source on GitHub ↗

BinlogReader is a general interface whose implementations can choose their methods of reading a binary log file and parsing it into binlog entries

Source from the content-addressed store, hash-verified

8// BinlogReader is a general interface whose implementations can choose their methods of reading
9// a binary log file and parsing it into binlog entries
10type BinlogReader interface {
11 StreamEvents(canStopStreaming func() bool, entriesChannel chan<- *BinlogEntry) error
12 Reconnect() error
13}

Callers 2

initiateStreamingMethod · 0.65
StreamEventsMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…