Documentation
¶
Overview ¶
Package app wires the rocketclaw runtime together.
Index ¶
- Variables
- func ControlSocketPath(cfg *config.Config) string
- func Run(ctx context.Context, cfg *config.Config, configPath string, ...) error
- func RunCLI(ctx context.Context, cfg *config.Config, configPath string, ...) error
- func RunControlClient(ctx context.Context, cfg *config.Config, options CLIOptions) error
- type CLIOptions
Constants ¶
This section is empty.
Variables ¶
ErrControlUnavailable reports that no RocketClaw server control socket accepted the CLI connection.
View Source
var ErrRestartRequested = errors.New("restart requested")
ErrRestartRequested indicates rocketclaw should exit so a supervisor can restart it.
Functions ¶
func ControlSocketPath ¶ added in v0.0.12
ControlSocketPath returns the selected runtime's local Unix control socket path.
func RunCLI ¶ added in v0.0.12
func RunCLI(ctx context.Context, cfg *config.Config, configPath string, logger *slog.Logger, options CLIOptions) error
RunCLI starts rocketclaw with an attached terminal CLI connector.
func RunControlClient ¶ added in v0.0.12
RunControlClient attaches terminal CLI I/O to a running RocketClaw server control socket.
Types ¶
Click to show internal directories.
Click to hide internal directories.