cluster

package
v0.0.0-...-0ed3af2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDataFromTo

func CopyDataFromTo(fromCluster, toCluster string, only []string, wg *sync.WaitGroup)

CopyDataFromTo copies data from one cluster to another.

func DualConnect

func DualConnect(uri1, uri2 string) (client1, client2 *mongo.Client, err error)

DualConnect connects to two database clients.

If an error occured while connecting to the first client it doesn't proceed to the next client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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