Documentation

Index

Constants

View Source
const (
	DefaultEventMask   = events.AllEvents &^ events.LocalChangeDetected &^ events.RemoteChangeDetected
	DiskEventMask      = events.LocalChangeDetected | events.RemoteChangeDetected
	EventSubBufferSize = 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	suture.Service
	config.Committer
	WaitForStart() error
}

func New

func New(id protocol.DeviceID, cfg config.Wrapper, assetDir, tlsDefaultCommonName string, m model.Model, defaultSub, diskSub events.BufferedSubscription, evLogger events.Logger, discoverer discover.Manager, connectionsService connections.Service, urService *ur.Service, fss model.FolderSummaryService, errors, systemLog logger.Recorder, noUpgrade bool) Service

Directories

Path Synopsis
Package auto contains auto generated files for web assets.
Package auto contains auto generated files for web assets.