config

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "unknown version"
	BuildTime = "unknown time"
)

Functions

This section is empty.

Types

type BinlogConfig

type BinlogConfig struct {
	Host     string
	Port     int
	Username string
	Password string

	StartBinlogName string
	StopBinlogName  string
	StartPosition   uint32
	StopPosition    uint32
	StartDatetime   *time.Time
	StopDatetime    *time.Time

	Database string
	Tables   []string
	SqlTypes []string
	DDL      bool

	Out   string
	Local bool
	// contains filtered or unexported fields
}

func (*BinlogConfig) GetOut

func (h *BinlogConfig) GetOut() (io.Writer, error)

func (*BinlogConfig) SupportSqlType

func (h *BinlogConfig) SupportSqlType(sqlType string) bool

Jump to

Keyboard shortcuts

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