Versions in this module Expand all Collapse all v2 v2.9.4 Mar 2, 2021 Changes in this version + type FileRestore struct + Options RestoreOptions + func (f *FileRestore) Init(opts ...RestoreOption) error + func (f *FileRestore) Start() (<-chan *store.Record, error) + type FileSnapshot struct + Options SnapshotOptions + func (f *FileSnapshot) Init(opts ...SnapshotOption) error + func (f *FileSnapshot) Start() (chan<- *store.Record, error) + func (f *FileSnapshot) Wait() + type Restore interface + Init func(opts ...RestoreOption) error + Start func() (<-chan *store.Record, error) + func NewFileRestore(opts ...RestoreOption) Restore + type RestoreOption func(r *RestoreOptions) + func Source(source string) RestoreOption + type RestoreOptions struct + Source string + type Snapshot interface + Init func(opts ...SnapshotOption) error + Start func() (chan<- *store.Record, error) + Wait func() + func NewFileSnapshot(opts ...SnapshotOption) Snapshot + type SnapshotOption func(s *SnapshotOptions) + func Destination(dest string) SnapshotOption + type SnapshotOptions struct + Destination string