consumer

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParseResult added in v0.4.0

type ParseResult struct {
	Relation string
	Action   string
	Columns  []ParseResultColumn

	NoTupleData bool
	OldKey      []ParseResultColumn
}

ParseResult - Data contained in the decoding message as a struct

func Decode

func Decode(message string, replicaIdentities map[string][]string, distributedTables map[string]string) (string, ParseResult)

Decode - Decodes a logical decoding message into SQL

type ParseResultColumn added in v0.4.0

type ParseResultColumn struct {
	Name     string
	DataType string
	Value    string
}

ParseResultColumn - Column data from the decoding message

Jump to

Keyboard shortcuts

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