daemon

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: 0BSD Imports: 6 Imported by: 0

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
}

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.

Jump to

Keyboard shortcuts

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