Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { *flag.FlagSet `toml:"-" json:"-"` Dir string `toml:"data-dir" json:"data-dir"` StartDatetime string `toml:"start-datetime" json:"start-datetime"` StopDatetime string `toml:"stop-datetime" json:"stop-datetime"` StartTSO int64 `toml:"start-tso" json:"start-tso"` StopTSO int64 `toml:"stop-tso" json:"stop-tso"` TxnBatch int `toml:"txn-batch" json:"txn-batch"` WorkerCount int `toml:"worker-count" json:"worker-count"` DestType string `toml:"dest-type" json:"dest-type"` DestDB *syncer.DBConfig `toml:"dest-db" json:"dest-db"` DoTables []filter.TableName `toml:"replicate-do-table" json:"replicate-do-table"` DoDBs []string `toml:"replicate-do-db" json:"replicate-do-db"` IgnoreTables []filter.TableName `toml:"replicate-ignore-table" json:"replicate-ignore-table"` IgnoreDBs []string `toml:"replicate-ignore-db" json:"replicate-ignore-db"` LogFile string `toml:"log-file" json:"log-file"` LogLevel string `toml:"log-level" json:"log-level"` SafeMode bool `toml:"safe-mode" json:"safe-mode"` // contains filtered or unexported fields }
Config is the main configuration for the retore tool.
type PbReader ¶
type PbReader interface {
// contains filtered or unexported methods
}
PbReader is a reader to read pb Binlog
Click to show internal directories.
Click to hide internal directories.