daemon

package
v0.220.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureRunning

func EnsureRunning(ctx context.Context, port int) error

EnsureRunning makes an infer daemon listen on port, starting one in the background when nothing does. The daemon's own pid lock makes a redundant start exit, so callers never coordinate, and the wait covers a daemon already on its way.

Types

This section is empty.

Jump to

Keyboard shortcuts

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