daemon

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package daemon runs the Blitz service: every workspace a client opens, served over the per-user socket, and the workers' schedules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, o Options) error

Run serves until ctx is done, then lets turns in progress finish for a few seconds and removes the socket. A service already answering on the socket is an error wrapping socket.ErrRunning.

Types

type Options

type Options struct {
	// Socket is where it listens (socket.DefaultSocket when empty).
	Socket string
	// Config is the configuration file ("" for the usual search).
	Config string
	// Version is reported in the diagnostic log and telemetry.
	Version string
}

Options are how the service runs.

Jump to

Keyboard shortcuts

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