daemon

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package daemon serves the muster store over a unix socket.

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
}

Daemon owns the listener and the store.

func Serve

func Serve(socketPath string, s storeAPI, n wake.Notifier) (*Daemon, error)

Serve binds socketPath (replacing any stale socket) and serves in a goroutine. n may be nil, in which case no notifications are delivered.

func (*Daemon) Close

func (d *Daemon) Close() error

Close stops accepting connections.

Jump to

Keyboard shortcuts

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