serve

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the krit binary version reported by `status`. cmd/krit sets it from its own version variable so daemon clients can detect upgrades. Defaults to "dev" so out-of-band callers (tests) get a useful value without explicit wiring.

Functions

func Run

func Run(args []string) int

runServeSubcommand implements `krit serve`. Long-lived process that warms the module graph and exposes build-integration verbs over a Unix socket. `krit serve --stop` sends a shutdown request to an existing daemon at --socket.

Types

This section is empty.

Jump to

Keyboard shortcuts

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