types

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CqnData

type CqnData struct {
	SchemaTableName string
	TableOperation  CqnOpCode
	RowChanges      RowChanges
}

type CqnOpCode

type CqnOpCode uint32
const (
	CqnAllRows CqnOpCode = 1 << iota
	CqnInsert
	CqnUpdate
	CqnDelete
	CqnAlter
	CqnDrop
	CqnUnexpected
)

type RowChanges

type RowChanges map[RowId]CqnOpCode

type RowId

type RowId string

type SubscriptionHandler

type SubscriptionHandler interface {
	ProcessCqnData(d []CqnData)
}

Jump to

Keyboard shortcuts

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