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, notifier GrpcNotifier, ) *BucketSynchronizer
Creates a new BucketSynchronizer instancelistenerEventHandler
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()
type GrpcNotifier ¶ added in v0.0.3
type GrpcNotifier interface { SendFileEvent(event events.FileEvent) SendTextileEvent(event events.TextileEvent) }
Click to show internal directories.
Click to hide internal directories.