Documentation ¶
Index ¶
Constants ¶
View Source
const ( AutoIncrementEvent = "AutoIncrement" TotalRowsEvent = "TotalRows" UpdateTimeEvent = "UpdateTime" )
Variables ¶
This section is empty.
Functions ¶
func GetTableInfo ¶
func NewTableListener ¶
func NewTableListener(database, table string, callback ListenerCallback) *tableListener
初始化
Types ¶
type DingDingListenerCallback ¶
type DingDingListenerCallback struct { }
func (*DingDingListenerCallback) Call ¶
func (callback *DingDingListenerCallback) Call(ist *informationSchemaTable, tld *tableListenerDiscrepantData) (err error)
type ListenerCallback ¶
type ListenerCallback interface {
Call(ist *informationSchemaTable, tld *tableListenerDiscrepantData) (err error)
}
type TestListenerCallback ¶
type TestListenerCallback struct { }
调试callback
func (*TestListenerCallback) Call ¶
func (callback *TestListenerCallback) Call(ist *informationSchemaTable, tld *tableListenerDiscrepantData) (err error)
Click to show internal directories.
Click to hide internal directories.