statistic

package
v0.0.0-...-5f67f9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 7 Imported by: 0

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 LogPos

type LogPos struct {
	File           string
	Position       uint32
	BinLogDoDB     string
	BinLogIgnoreDB string
}

type SyncEventHandler

type SyncEventHandler struct {
	canal.DummyEventHandler
}

func (*SyncEventHandler) OnRow

func (h *SyncEventHandler) OnRow(e *canal.RowsEvent) error

func (*SyncEventHandler) String

func (h *SyncEventHandler) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL