binlog

package
v0.0.0-...-e342c8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B2S

func B2S(bs []uint8) string

Types

type Binlog

type Binlog struct {
	Target *client.Conn
	Tables map[string][]config.Table
	// contains filtered or unexported fields
}

func NewBinlog

func NewBinlog(tgt *client.Conn, serverId uint32, host string, port uint16, user, password string, t map[string][]config.Table, gtid, position string, logger *zap.Logger) *Binlog

func (*Binlog) LoadColumnsForTable

func (b *Binlog) LoadColumnsForTable(schema, table string) ([]string, error)

func (*Binlog) Run

func (b *Binlog) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL