function
Execute
Run project commands or the framework-owned production server lifecycle.
Arguments
| Argument | Type | Description |
|---|---|---|
applicationConfig | Config | The application-owned executable configuration. |
supplied | []ExecuteOption | Runtime options applied in argument order only when serving. |
Returns
Command, startup, serving, or shutdown failure.
result errorHow it works
When command-line arguments select a project command, Execute resolves config and returns without invoking store or storage factories. With no command it owns startup, readiness, serving, workers, drain, and resource close order.
Full signature
func Execute(
applicationConfig Config,
supplied ...ExecuteOption,
) (result error)Related types
ConfigExecutable application-owned Ridu configuration.
ExecuteOptionOpaque production lifecycle option accepted by Execute.