bridge

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRuleNotExist = errors.New("rule is not exist")

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, logger zerolog.Logger) (*Bridge, error)

func (*Bridge) Close

func (b *Bridge) Close() error

func (*Bridge) Delay added in v1.0.1

func (b *Bridge) Delay() uint32

func (*Bridge) Dumping added in v1.0.1

func (b *Bridge) Dumping() bool

func (*Bridge) Run

func (b *Bridge) Run() <-chan error

Run syncs the data from MySQL and inserts to Tarantool until closed or meets errors.

Returns closed channel with all errors or an empty channel.

func (*Bridge) Running added in v1.0.1

func (b *Bridge) Running() bool

Jump to

Keyboard shortcuts

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