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()
Click to show internal directories.
Click to hide internal directories.