// StreamTables is part of the binlogservicepb.UpdateStreamServer interface func (server *UpdateStream) StreamTables(req *binlogdatapb.StreamTablesRequest, stream binlogservicepb.UpdateStream_StreamTablesServer) (err error) { defer server.updateStream.HandlePanic(&err) return server.updateStream.StreamTables(stream.Context(), req.Position, req.Tables, req.Charset, func(reply *binlogdatapb.BinlogTransaction) error { return stream.Send(&binlogdatapb.StreamTablesResponse{ BinlogTransaction: reply, }) }) }