Documentation
¶
Index ¶
Constants ¶
View Source
const ( OpenFilesKeyPrefix = "openFiles#" ReverseOpenFilesKeyPrefix = "reverseOpenFiles#" )
Variables ¶
View Source
var (
ErrAddFileWatch = errors.New("error adding file to watch")
)
Functions ¶
func New ¶
func New( folderWatcher watcher.FolderWatcher, textileClient textile.Client, store store.Store, notifier GrpcNotifier, ) *bucketSynchronizer
Creates a new bucketSynchronizer instancelistenerEventHandler
Types ¶
type BucketSynchronizer ¶
type GrpcNotifier ¶
type GrpcNotifier interface { SendFileEvent(event events.FileEvent) SendTextileEvent(event events.TextileEvent) }
type TextileNotifier ¶
type TextileNotifier interface {
SendTextileEvent(event events.TextileEvent)
}
Click to show internal directories.
Click to hide internal directories.