worker

package
v0.0.0-...-553297e Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReplicationWorker

type ReplicationWorker struct {
	DBEngine         string
	SourceDB         string
	SourceCollection string
	ReplicationIndex string
	NSQProducer      *nsq.Producer
	NSQConsumer      *nsq.Consumer
	// contains filtered or unexported fields
}

func CreateReplicationWorker

func CreateReplicationWorker(engine string, sourcedb string, collection string, replicationIndex string, withInitialLoad bool) *ReplicationWorker

func (ReplicationWorker) StartReplication

func (worker ReplicationWorker) StartReplication()

Jump to

Keyboard shortcuts

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