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).
Structs§
- Serve
Opts - Options for the
servesub-command.
Functions§
- execute
- Execute
serve: start the HTTP server and block until shutdown. - is_
loopback - Returns true if the address is a loopback address.