Versions in this module Expand all Collapse all v1 v1.3.2 Sep 16, 2021 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 + ExtraOptions []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) SetExtraOptions(options []string) + 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 + GtidSet func(gtidsets string) error