bridge

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 19 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) 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.

Jump to

Keyboard shortcuts

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