handler

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	// Handle row data
	Handle(wal ...*model.WalData) error
	Stop()
}

Handler handle dump data

func NewHandler

func NewHandler(sub *conf.Subscribe, callback PosCallback) Handler

NewHandler create wal handler with subscribe config

type PosCallback

type PosCallback func(uint64)

PosCallback for handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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