Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompareConfig ¶
type CompareConfig struct {
SourceType string `toml:"source-type" json:"source-type"`
DestType string `toml:"dest-type" json:"dest-type"`
SQLFile string `toml:"sqlfile" json:"sqlfile"`
Delimiter string `toml:"sqlfile-delimiter" json:"sqlfile-delimiter"`
Output string `toml:"output" json:"output"`
OutputPrefix string `toml:"outputprefix" json:"outputprefix"`
}
type Config ¶
type Config struct {
Log Log `toml:"log" json:"log"`
MySQLConfig DBConfig `toml:"mysql-config" json:"mysql-config"`
TiDBConfig DBConfig `toml:"tidb-config" json:"tidb-config"`
CompareConfig CompareConfig `toml:"compare-config" json:"compare-config"`
OracleConfig OracleDBConfig `toml:"oracle-config" json:"oracle-config"`
}
type OracleDBConfig ¶
type OracleDBConfig struct {
User string `toml:"user" json:"user"`
Password string `toml:"password" json:"password"`
Host string `toml:"host" json:"host"`
Port int `toml:"port" json:"port"`
ServiceName string `toml:"service-name" json:"service-name"`
SchemaName string `toml:"schema-name" json:"schema-name"`
}
Click to show internal directories.
Click to hide internal directories.