function

Execute

func Execute( applicationConfig Config, supplied ...ExecuteOption, ) (result error)

Run project commands or the framework-owned production server lifecycle.

Source core/execute.go:127

@param applicationConfig
The application-owned executable configuration.
@param supplied
Runtime options applied in argument order only when serving.
@returns
Command, startup, serving, or shutdown failure.

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.

Related types

  • Config

    Executable application-owned Ridu configuration.

  • ExecuteOption

    Opaque production lifecycle option accepted by Execute.