Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinlogReader ¶
func NewBinlogReader ¶
func (*BinlogReader) LoadColumnsForTable ¶
func (b *BinlogReader) LoadColumnsForTable(fullTable string) ([]string, error)
func (*BinlogReader) Run ¶
func (b *BinlogReader) Run()
type BinlogWriter ¶
type BinlogWriter struct { Tables map[string][]config.Table // contains filtered or unexported fields }
func NewBinlogWriter ¶
func (*BinlogWriter) Run ¶
func (b *BinlogWriter) Run()
type CommandSQL ¶
type CommandSQL string
var ( Transaction CommandSQL = "transaction" Commit CommandSQL = "commit" Rollback CommandSQL = "rollback" Insert CommandSQL = "insert" Delete CommandSQL = "delete" Update CommandSQL = "update" Select CommandSQL = "select" )
type Messages ¶
type Messages struct {
// contains filtered or unexported fields
}
func NewMessages ¶
type MessagesLogger ¶
type MessagesLogger struct {
// contains filtered or unexported fields
}
func NewMessagesLogger ¶
func NewMessagesLogger(msg Msg, log *zap.Logger) *MessagesLogger
func (*MessagesLogger) Push ¶
func (ml *MessagesLogger) Push(ctx context.Context, cmd CommandSQL, query []byte)
Click to show internal directories.
Click to hide internal directories.