entity

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 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 {
	TableName     string
	DatabaseName  string
	DMLType       string
	DDLType       string
	DDLActionType string
	SQLStatement  string
	RowID         string
}

func NewData

func NewData() *Data

func (*Data) GetDDLActionType

func (i *Data) GetDDLActionType() string

func (*Data) GetDDLType

func (i *Data) GetDDLType() string

func (*Data) GetDMLType

func (i *Data) GetDMLType() string

func (*Data) GetDatabaseName

func (i *Data) GetDatabaseName() string

func (*Data) GetRowID

func (i *Data) GetRowID() string

func (*Data) GetSQLStatement

func (i *Data) GetSQLStatement() string

func (*Data) GetTableName

func (i *Data) GetTableName() string

func (*Data) SetDDLActionType

func (i *Data) SetDDLActionType(DDLActionType string)

func (*Data) SetDDLType

func (i *Data) SetDDLType(DDLType string)

func (*Data) SetDMLType

func (i *Data) SetDMLType(DMLType string)

func (*Data) SetDatabaseName

func (i *Data) SetDatabaseName(databaseName string)

func (*Data) SetRowID

func (i *Data) SetRowID(rowID string)

func (*Data) SetSQLStatement

func (i *Data) SetSQLStatement(SQLStatement string)

func (*Data) SetTableName

func (i *Data) SetTableName(tableName string)

type Message

type Message struct {
	Type string
	Data Data
}

module name+topic name+event

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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