Versions in this module Expand all Collapse all v1 v1.0.0 Nov 13, 2020 Changes in this version + var ErrSkip = errors.New("Handler error, but skipped") + func Parse(r io.Reader, h ParseHandler, parseBinlogPos bool) error + type Dumper struct + Addr string + Charset string + Databases []string + ErrOut io.Writer + ExecutionPath string + IgnoreTables map[string][]string + Password string + Protocol string + TableDB string + Tables []string + User string + Where string + func NewDumper(executionPath string, addr string, user string, password string) (*Dumper, error) + func (d *Dumper) AddDatabases(dbs ...string) + func (d *Dumper) AddIgnoreTables(db string, tables ...string) + func (d *Dumper) AddTables(db string, tables ...string) + func (d *Dumper) Dump(w io.Writer) error + func (d *Dumper) DumpAndParse(h ParseHandler) error + func (d *Dumper) Reset() + func (d *Dumper) SetCharset(charset string) + func (d *Dumper) SetErrOut(o io.Writer) + func (d *Dumper) SetHexBlob(v bool) + func (d *Dumper) SetMaxAllowedPacket(i int) + func (d *Dumper) SetProtocol(protocol string) + func (d *Dumper) SetWhere(where string) + func (d *Dumper) SkipMasterData(v bool) + type ParseHandler interface + BinLog func(name string, pos uint64) error + Data func(schema string, table string, values []string) error