type

App

type App struct { manifest schema.Manifest local *LocalAPI auth store.AuthStore authMaintenance store.AuthMaintenanceStore authByID map[schema.StableID]schema.Collection authBySlug map[string]schema.Collection authOrder []schema.Collection authConfigBySlug map[string]AuthConfig authCreatePolicySet map[string]bool dummyPasswordHashes map[string][]byte passwordWork *passwordWorkLimiter bySlug map[string]schema.Collection globalsBySlug map[string]schema.Global uploads uploads.Manager tasks store.TaskStore taskRegistry map[string]taskRuntime health store.HealthStore readiness store.ReadinessStore migrationReadiness store.MigrationReadinessStore migrationHistoryDigest string storageHealth storage.HealthBackend readinessAdmission chan struct{} uploadCleanupAdmission chan struct{} uploadCleanupTimeout time.Duration draining atomic.Bool preferences store.PreferenceStore documentLocks store.DocumentLockStore documentStore store.Store previewTokens *previewTokenRegistry adminUserCollection schema.StableID pluginEndpoints []runtimePluginEndpoint customEndpoints []runtimeEndpoint pluginTransports []runtimePluginTransport availableLocales LocaleAvailability }

A resolved application bound to operation services.

Source core/app.go:20

Manifestfunc() schema.Manifest
Return the immutable resolved schema.
Localfunc() *LocalAPI
Return the in-process content API.
Handlerfunc(HandlerOptions) http.Handler
Build the REST API, admin, plugin routes, health, and readiness handler.

App owns initialized runtime services; its fields are intentionally private. Construct it with New, or let Execute own the ordinary production lifecycle.

Methods