Documentation
¶
Index ¶
- func AutoServerId() uint32
- func KeyInList(e string, tableList []string) bool
- func KeyInMap(e string, tableMap map[string]int) bool
- func Output(param *BinlogInfo, myMap map[string]int, title string)
- func OutputPlus(param *BinlogInfo, myMap map[string]int, title string, ...)
- func OutputStmtInfo(param *BinlogInfo, myStmt []StmtInfo, title string)
- func SqlTextTablekey(sql string) string
- type BinlogInfo
- type Pair
- type PairList
- type PairListStmt
- type PairStmt
- type StmtInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoServerId ¶
func AutoServerId() uint32
func OutputPlus ¶
func OutputStmtInfo ¶
func OutputStmtInfo(param *BinlogInfo, myStmt []StmtInfo, title string)
func SqlTextTablekey ¶
Types ¶
type BinlogInfo ¶
type BinlogInfo struct {
Cfg BinlogSyncerConfig
BinlogName string
TopNum int
MaxSqllen int
InputStartTime uint32
InputEndTime uint32
InputQuery string
}
func InputInfo ¶
func InputInfo() *BinlogInfo
type PairListStmt ¶
type PairListStmt []PairStmt
func (PairListStmt) Len ¶
func (p PairListStmt) Len() int
func (PairListStmt) Less ¶
func (p PairListStmt) Less(i, j int) bool
func (PairListStmt) Swap ¶
func (p PairListStmt) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.