Skip to main content

Module serve

Module serve 

Source
Expand description

Implementation of the serve sub-command.

Starts an HTTP server that exposes job operations as REST endpoints. Endpoints mirror the existing CLI subcommands.

Default bind address: 127.0.0.1:19263 (localhost only). Use --bind 0.0.0.0:19263 to expose externally (requires network access control).

Structs§

ServeOpts
Options for the serve sub-command.

Functions§

execute
Execute serve: start the HTTP server and block until shutdown.