dbSync

package
v0.0.0-...-d7cb029 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbSyncer

type DbSyncer struct {
	WaitFull chan struct{} // wait full sync done
	// contains filtered or unexported fields
}

func NewDbSyncer

func NewDbSyncer(id int, source, sourcePassword string, target []string, targetPassword string,
	slotLeftBoundary, slotRightBoundary int, httpPort int) *DbSyncer

one sync link corresponding to one DbSyncer

func (*DbSyncer) GetExtraInfo

func (ds *DbSyncer) GetExtraInfo() map[string]interface{}

func (*DbSyncer) Sync

func (ds *DbSyncer) Sync()

main

type Status

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

func (*Status) Stat

func (s *Status) Stat() *syncerStat

Jump to

Keyboard shortcuts

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