package daemon

import "src.elv.sh/pkg/daemon"

Package daemon implements a service for mediating access to the data store, and its client.

Most RPCs exposed by the service correspond to the methods of Store in the store package and are not documented here.

Index

Package Files

daemon.go listen_unix.go serve.go service.go umask_unix.go

Variables

var Program prog.Program = program{}

Program is the daemon subprogram.

func Serve

func Serve(sockpath, dbpath string)

Serve runs the daemon service, listening on the socket specified by sockpath and serving data from dbpath. It quits upon receiving SIGTERM, SIGINT or when all active clients have disconnected.

Directories

PathSynopsis
pkg/daemon/client
pkg/daemon/daemondefsPackage daemondefs contains definitions used for the daemon.
pkg/daemon/internal

Package daemon imports 12 packages (graph).

Version v0.16.3 (latest) | Published Aug 28, 2021 | Platform: linux/amd64 | Updated 13 hours ago

.
Tools for package owners.