package
0.22.0-dev
Repository: https://github.com/elves/elvish.git
Documentation: pkg.go.dev

# Packages

Package daemondefs contains definitions used for the daemon.

# Functions

Activate returns a daemon client, either by connecting to an existing daemon, or spawning a new one.
NewClient creates a new Client instance that talks to the socket.
Serve runs the daemon service, listening on the socket specified by sockpath and serving data from dbpath until all clients have exited.

# Variables

ErrDaemonUnreachable is returned when the daemon cannot be reached after several retries.

# Structs

Program is the daemon subprogram.
ServeOpts keeps options that can be passed to Serve.