oper

package
v0.0.0-...-dae3534 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 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 OpType

type OpType int32
const (
	OpType_AddTable OpType = 0
	OpType_DelTable OpType = 1
	OpType_Insert   OpType = 2
	OpType_Update   OpType = 3
	OpType_Delete   OpType = 4
)

type Operate

type Operate struct {
	// Uid 操作id
	Uid string
	// Op 操作类型
	Op OpType
	// TableName 数据库的name
	TableName string
	// Key 操作数据的key
	Key string
	// Value 操作的数据结果
	Value interface{}
	// OpTime unix格式的时间
	OpTime int64
	// BeforeOp 前一个操作的id
	BeforeOp string
}

Jump to

Keyboard shortcuts

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