Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinlogSlaveRegister ¶
func BinlogSlaveRegister()
func DispatchStatisticCall ¶
func DispatchStatisticCall(bs BaseStatistic, table *schema.Table, action string, rows [][]interface{})
Types ¶
type BaseStatistic ¶
type BaseStatistic interface { ActionDispatch(table *schema.Table, action string, rows [][]interface{}) ParseMainKeys(rows [][]interface{}) ([]string, []string) HandlerInsert(companyCodes []string, keys []string) HandlerUpdate(companyCodes []string, keys []string) HandlerDelete(companyCodes []string, keys []string) }
type SyncEventHandler ¶
type SyncEventHandler struct {
canal.DummyEventHandler
}
func (*SyncEventHandler) String ¶
func (h *SyncEventHandler) String() string
Click to show internal directories.
Click to hide internal directories.