function

New

func New( applicationConfig Config, backend store.Store, ) (*App, error)

Resolve an application and bind it to an already-open document store.

Source core/app.go:57

@param applicationConfig
The application-owned executable configuration.
@param backend
The opened singular document store; the caller retains lifecycle ownership.
@returns
A fully initialized application, or configuration/runtime validation failure.

Use this when embedding Ridu into an existing Go process. Execute is the ordinary framework-owned server lifecycle.

An application compiled by ridu build receives the exact ordered migration-history fingerprint. The caller owns the pre-traffic readiness barrier for an application-owned HTTP server.

Related types

  • Config

    Executable application-owned Ridu configuration.

  • Store

    Starts atomic transactions for operations.

  • App

    A resolved application bound to operation services.