dsync

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndSync

func EndSync(opt *option.EndSync) error

func SetSyncMode

func SetSyncMode(dq dbx.Queryable, mode Mode, source string) error

func Sync

func Sync(opt *option.Sync) error

Types

type Mode

type Mode int
const (
	NoSync      Mode = 0
	InitialSync Mode = 1
	Resync      Mode = 2
)

func ReadSyncMode

func ReadSyncMode(dq dbx.Queryable, source string) (Mode, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳