api

package
v1.22.3-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2022 License: MPL-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Default mask excludes these very noisy event types to avoid filling the pipe.
	// FIXME: ItemStarted and ItemFinished should be excluded for the same reason.
	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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL