Documentation ¶ Index ¶ type Daemon func New(cfg *config.Config) (*Daemon, error) func (d *Daemon) Run() error func (d *Daemon) Stop() 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 } func New ¶ func New(cfg *config.Config) (*Daemon, error) func (*Daemon) Run ¶ func (d *Daemon) Run() error func (*Daemon) Stop ¶ func (d *Daemon) Stop() Stop shuts the daemon down in order (syncer flush, socket handlers, DB) and is safe to call multiple times; concurrent callers block until the first completes. Source Files ¶ View all Source files daemon.go Click to show internal directories. Click to hide internal directories.