Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeValue ¶
type DeleteEvent ¶
type DeleteEvent struct { DataEvent Rows [][]ChangeValue `json:"rows"` }
type DeleteMapping ¶
type DeleteMapping struct { }
type EventListener ¶
type EventListener interface {
// contains filtered or unexported methods
}
type InsertEvent ¶
type InsertEvent struct { DataEvent Rows [][]ChangeValue `json:"rows"` }
type InsertMapping ¶
type InsertMapping struct { }
type Position ¶
func NewPositionWithForce ¶
type Task ¶
type Task struct { Status TaskStatus // contains filtered or unexported fields }
func (*Task) Initialize ¶
func (t *Task) Initialize()
type TaskStatus ¶
type TaskStatus int32
const ( Waiting TaskStatus = 0 // 未初始化 Running TaskStatus = 1 // 工作中 Pending TaskStatus = 2 // 已初始化,未开始运行 )
type UpdateEvent ¶
type UpdateEvent struct { DataEvent Rows [][]ChangeValue `json:"rows"` }
type UpdateMapping ¶
type UpdateMapping struct { }
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func NewEmptyWorker ¶
func NewEmptyWorker() *Worker
func NewWorkerWithCfg ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.