Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
Daemon is the device side of midgard without a desktop: it keeps the device's history in sync with the person's other devices, and the local clipboard with the newest copy (specs/redesign.md §3).
func NewDaemon ¶
NewDaemon opens the device's history and sets up its sync. One midgard syncs a device at a time: it fails while the Mac app, or another daemon, does.
func (*Daemon) Close ¶ added in v0.2.0
Close closes the history and gives up the device, for another midgard to sync it.
Click to show internal directories.
Click to hide internal directories.