Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultRemoteDeviceID remote syncthing ID DefaultRemoteDeviceID = "ATOPHFJ-VPVLDFY-QVZDCF2-OQQ7IOW-OG4DIXF-OA7RWU3-ZYA4S22-SI4XVAU" // DefaultFileWatcherDelay how much to wait before starting a sync after a file change DefaultFileWatcherDelay = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Syncthing ¶
type Syncthing struct { Home string Name string Namespace string LocalPath string RemoteAddress string RemoteDeviceID string APIKey string FileWatcherDelay int GUIAddress string ListenAddress string // contains filtered or unexported fields }
Syncthing represents the local syncthing process.
func NewSyncthing ¶
NewSyncthing constructs a new Syncthing.
Click to show internal directories.
Click to hide internal directories.