model

package
v0.0.0-...-c9f961e Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Action string `json:"action"`
	Table  string `json:"table"`
	// kafka key
	Key string                 `json:"-"`
	Old map[string]interface{} `json:"old,omitempty"`
	New map[string]interface{} `json:"new,omitempty"`
}

Data msg will be push to databus

type TiDBInfo

type TiDBInfo struct {
	Name      string
	ClusterID string
	Offset    int64
	CommitTS  int64
}

TiDBInfo tidb db model

Jump to

Keyboard shortcuts

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