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 ¶ added in v0.0.3
type GrpcNotifier interface { SendFileEvent(event events.FileEvent) SendTextileEvent(event events.TextileEvent) }
type TextileNotifier ¶ added in v0.0.4
type TextileNotifier interface {
SendTextileEvent(event events.TextileEvent)
}
Click to show internal directories.
Click to hide internal directories.