sync

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketSynchronizer

type BucketSynchronizer struct {
	// contains filtered or unexported fields
}

func New

func New(
	folderWatcher *watcher.FolderWatcher,
	textileClient tc.Client,
	notify func(event events.FileEvent),
) *BucketSynchronizer

Creates a new BucketSynchronizer instance

func (*BucketSynchronizer) Start

func (bs *BucketSynchronizer) Start(ctx context.Context) error

Starts the folder watcher and the textile watcher.

func (*BucketSynchronizer) Stop

func (bs *BucketSynchronizer) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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