replicator

package
v0.0.0-...-e8a41ca Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Replicator

type Replicator struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config.Config) *Replicator

func (*Replicator) GenerateChDDL

func (r *Replicator) GenerateChDDL() error

GenerateChDDL generates clickhouse table DDLs TODO: refactor me

func (*Replicator) HandleMessage

func (r *Replicator) HandleMessage(lsn utils.LSN, msg message.Message) error

HandleMessage processes the incoming wal message

func (*Replicator) Run

func (r *Replicator) Run() error

Jump to

Keyboard shortcuts

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