package
Version:
v0.0.0-...-eb4e2cc
Opens a new window with list of versions in this module.
Published: Dec 29, 2015
License: GPL-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
DataDir string `json:"dataDir"`
Mysql *MysqlConfig `json:"mysql"`
Rules []*Rule `json:"rules"`
}
type MysqlConfig struct {
ServerId uint32 `json:"serverId"`
Addr string `json:"addr"`
User string `json:"user"`
Pass string `json:"pass"`
DumpExec string `json:"mysqldump"`
Dbs []string `json:"dbs"`
IgnoreTables map[string][]string `json:"ignoreTables"`
}
type Row struct {
Old []interface{}
Changed map[int]interface{}
}
type Rule struct {
Db string `json:"db"`
Table string `json:"table"`
Url string `json:"url"`
Method string `json:"method"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.