Documentation
¶
Overview ¶
Package syncs will sync multiple stores
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
Option sets Sync Options
func Stores ¶
Stores sets the layers that make up the sync
func SyncInterval ¶
SyncInterval sets the duration between syncs from L0 to L1
type Options ¶
type Options struct {
// Stores represents layers in the sync in ascending order. L0, L1, L2, etc
Stores []store.Store
// SyncInterval is the duration between syncs from L0 to L1
SyncInterval time.Duration
// SyncMultiplier is the multiplication factor between each store.
SyncMultiplier int64
}
Options represents Sync options
Source Files
¶
- manager.go
- options.go
- sync.go
Click to show internal directories.
Click to hide internal directories.