package
0.1.2
Repository: https://github.com/cryp-com-br/pg-syncer.git
Documentation: pkg.go.dev

# Functions

New create the map Syncers.
NewConfig initialize the basic config.
NewService init the service.
Start run all services syncers.

# Constants

FullSync truncate the table and copy all result of query to then.
OnlyDiff sync only the diff data between the source and destination.
PartialSync copy all result from query without truncate the destination.

# Structs

Access informations.
Config basic config.
RepositoryConfig a config to repository.
Service is a struct to wrap a running syncer.
Syncer is a struct of a sync with repository.

# Type aliases

Repositories map to RepositoryConfig with name like a id.
Syncers is a map to Syncer.
SyncersConf map to SyncersAccess confs with hash like a id.
SyncMode represents the types of syncs.