Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoSrConfig ¶
type MongoSrConfig struct { Name string Input *Input Mongo *Mongo Starrocks *Starrocks Filter []*Filter Rules []*rule.MongoToSrRule `toml:"rule"` Logger *log.Logger ConfigFile string OutputType string SyncParam *SyncParam `toml:"sync-param"` }
func NewMongoSrConfig ¶
func NewMongoSrConfig(configFile *string) *MongoSrConfig
func (*MongoSrConfig) ReadMongoSrConf ¶
func (config *MongoSrConfig) ReadMongoSrConf(filename string) (*MongoSrConfig, error)
type MysqlInput ¶
type MysqlInput struct {
StartPosition string `toml:"start-gtid"`
}
type MysqlSrConfig ¶
type MysqlSrConfig struct { Name string Input *MysqlInput Mysql *Mysql Starrocks *Starrocks Filter []*Filter Rules []*rule.MysqlToSrRule `toml:"rule"` Logger *log.Logger ConfigFile string SyncParam *SyncParam `toml:"sync-param"` }
func NewMysqlSrConfig ¶
func NewMysqlSrConfig(configFile *string) *MysqlSrConfig
func (*MysqlSrConfig) ReadMysqlSrConf ¶
func (config *MysqlSrConfig) ReadMysqlSrConf(filename string) (*MysqlSrConfig, error)
Click to show internal directories.
Click to hide internal directories.