Nucleus API surface
The public Go API of Nucleus v1.33.0, the version Quantum 1.42.0 certifies: 2,499 exported symbols in 31 packages. Nucleus keeps this list in contracts/baseline/api_exported_symbols.txt. Nucleus's CI compares this file with the code on every change and fails when they differ, so adding or removing an exported symbol means changing the file in the same change. Removing an exported symbol is a breaking change, and the suite ships breaking changes only in a major version. This page is generated from that file at the pinned version, so it lists exactly what the check protects.
Each package links to its documentation on pkg.go.dev at this version, where every symbol has its signature and its comment.
| Package | Types | Functions | Methods | Fields | Constants | Variables |
|---|---|---|---|---|---|---|
pkg/accounts | 14 | 10 | 60 | 41 | 24 | 13 |
pkg/app | 28 | 33 | 30 | 210 | 1 | 9 |
pkg/auth | 30 | 31 | 107 | 43 | 12 | 6 |
pkg/auth/apikeys | 5 | 8 | 12 | 12 | 6 | 2 |
pkg/auth/backend | 4 | 4 | 5 | 8 | 3 | |
pkg/auth/backend/backendtest | 1 | 1 | 5 | |||
pkg/auth/federated | 8 | 4 | 5 | 8 | 2 | |
pkg/auth/federated/oidc | 2 | 1 | 3 | 8 | 1 | |
pkg/auth/sessionstore | 3 | 4 | 3 | 6 | ||
pkg/authz | 8 | 11 | 25 | 12 | 1 | |
pkg/circuit | 3 | 1 | 4 | 5 | 3 | 1 |
pkg/db | 13 | 9 | 15 | 39 | 7 | 4 |
pkg/db/driver | 1 | 5 | ||||
pkg/db/driver/drivertest | 1 | 1 | 4 | |||
pkg/errors | 11 | 11 | 12 | 23 | 1 | |
pkg/health | 3 | 7 | 3 | 4 | ||
pkg/mail | 10 | 10 | 12 | 25 | 3 | |
pkg/model | 20 | 13 | 19 | 100 | 13 | 3 |
pkg/nucleus | 42 | 37 | 117 | 84 | 17 | 15 |
pkg/observability | 13 | 6 | 36 | 37 | 10 | |
pkg/observability/hooks | 5 | 3 | 3 | 16 | ||
pkg/observe | 2 | 15 | 7 | 1 | ||
pkg/observe/exporter | 3 | 4 | 7 | |||
pkg/plugins | 20 | 14 | 15 | 68 | 14 | |
pkg/router | 17 | 59 | 58 | 51 | 8 | |
pkg/router/interceptor | 4 | 5 | 2 | 2 | ||
pkg/signals | 7 | 6 | 12 | 6 | 8 | 6 |
pkg/storage | 26 | 14 | 35 | 2 | 6 | 1 |
pkg/storage/provider | 19 | 9 | 14 | 61 | 6 | |
pkg/tasks | 15 | 4 | 17 | 84 | 6 | 4 |
pkg/validate | 2 |
pkg/accounts
github.com/jcsvwinston/nucleus/pkg/accounts · 162 symbols · pkg.go.dev
Types
Account— fieldsCreatedAt,Disabled,Email,EmailVerified,ID,PasswordHash,Role,UpdatedAt,UsernameConfig— fieldsBaseURL,From,Issuer,LockoutBase,LockoutThreshold,LockoutWindow,MFAEncryptionKey,MagicLinkTTL,MinPasswordLength,RequireEmailVerification,ResetTokenTTL,VerifyTokenTTLFactor— fieldsAccountID,Confirmed,CreatedAt,Kind,LastStep,SecretFactorKindFlavorMFAStoreinterface — methodsConsumeRecoveryCode,CountRecoveryCodes,DeleteFactor,GetFactor,PutFactor,ReplaceRecoveryCodes,UpdateFactorStepMailerinterface — methodsSendRuntimeConfig— fieldsAllowUnverifiedLogin,BaseURL,From,Issuer,MFAKeyEnv,MinPasswordLengthSQLStore— methodsByEmail,ByID,ClearFailures,ConsumeRecoveryCode,ConsumeToken,CountRecoveryCodes,Create,CreateToken,DeleteFactor,DeleteTokens,FailureCount,GetFactor,PurgeExpired,PutFactor,RecordFailure,ReplaceRecoveryCodes,Update,UpdateFactorStepSQLStoreConfig— fieldsFlavor,TablePrefixService— methodsBeginTOTPEnrolment,ChangePassword,CompleteSecondFactor,ConfirmTOTPEnrolment,ConsumeMagicLink,DisableTOTP,HasConfirmedFactor,Login,LoginFrom,Logout,MarkAuthenticated,RegenerateRecoveryCodes,Register,RemainingRecoveryCodes,RequestMagicLink,RequestPasswordReset,RequireFreshAuth,ResetPassword,RevokeSessions,StartPendingSession,StartSession,UseSessions,VerifyEmail,VerifySecondFactorStoreinterface — methodsByEmail,ByID,ClearFailures,ConsumeToken,Create,CreateToken,DeleteTokens,FailureCount,RecordFailure,UpdateToken— fieldsAccountID,CreatedAt,ExpiresAt,Hash,Purpose,UsedAtTokenPurpose
Functions — ClientIP, DefaultConfig, FromRuntime, Module, New, NewSQLStore, NewTOTPSecret, TOTPURI, TestingTOTPCode, VerifyTOTP
Constants — FactorTOTP, FlavorMySQL, FlavorPostgres, FlavorSQLite, PurposeMagicLink, PurposeResetPassword, PurposeVerifyEmail, ReauthWindow, RecoveryCodeCount, RouteLogin, RouteLogout, RouteMFAVerify, RouteMagicLink, RoutePasswordChange, RoutePasswordReset, RouteRecoveryCodes, RouteRegister, RouteTOTP, RouteVerifyEmail, RuntimeModuleName, SessionKeyAccountID, SessionKeyAuthenticatedAt, SessionKeyEmail, SessionKeyPendingAccountID
Variables — ErrAccountDisabled, ErrAccountLocked, ErrEmailNotVerified, ErrEmailTaken, ErrInvalidCode, ErrInvalidCredentials, ErrInvalidToken, ErrMFANotEnrolled, ErrMFARequired, ErrMFAUnavailable, ErrNotFound, ErrReauthenticationRequired, ErrWeakPassword
pkg/app
github.com/jcsvwinston/nucleus/pkg/app · 311 symbols · pkg.go.dev
Types
App— fieldsAuthChain,AuthFederated,Authorizer,Cache,Config,DB,DBs,I18n,JWT,Logger,Mailer,Models,Observability,Outbox,Realtime,Router,Session,SessionRecorder,Storage,Templates; methodsAutoMigrate,Database,DatabaseForRequest,DefaultDB,DefaultDatabaseAlias,ErrorEnvelope,MountOpenAPIHandler,OnShutdown,OpenAuthz,ProblemDetails,RegisterHealthProbe,RegisterModel,Run,Shutdown,StartOutboxAzureStorageSpec— fieldsAccountKey,AccountName,Container,PublicContainerBridgeConfig— fieldsConfig,Name,TypeCacheConfig— fieldsPrefix,Provider,RedisURL,TableCircuitBreakerSpec— fieldsCooldown,Enabled,FailureThreshold,HalfOpenMaxConcurrentCleanupStorageSpec— fieldsEnabled,Interval,MaxAge,PrefixConfig— fieldsAuthBackendConfig,AuthBackends,AuthFederated,CORSAllowCredentials,CORSOrigins,CSRFEnabled,CSRFExemptPaths,CSRFInsecureCookie,Cache,DatabaseDefault,Databases,Debug,DefaultLocale,Env,HTTPInterceptors,Host,IdleTimeout,InterceptorConfig,JWTAudience,JWTCurrentKID,JWTExpiry,JWTIssuer,JWTKeys,JWTRevocation,JWTSecret,JobsConcurrency,JobsProvider,JobsQueues,JobsRedisURL,JobsRetention,JobsSchedulerLock,JobsTable,LocalesPath,LogFormat,LogLevel,LogRedactExtraKeys,MailCircuitBreaker,MailDeclared,MailDriver,MailFrom,MetricsPath,MetricsPublic,MultiSite,MultiTenant,OTLPEndpoint,Outbox,Plugins,Port,Profile,ProfilingEnabled,PublicBaseURL,RBACPolicyFile,RateLimitBurst,RateLimitByRole,RateLimitByRoute,RateLimitRequests,RateLimitWindow,ReadTimeout,RedisURL,RequestTimeout,SMTPHost,SMTPPass,SMTPPort,SMTPUser,SQLDriverInstrumentation,SessionCookieDomain,SessionCookieName,SessionCookiePath,SessionCookieSameSite,SessionCookieSecure,SessionIdleTimeout,SessionLifetime,SessionMemcachedServers,SessionRedisPrefix,SessionRedisURL,SessionStore,SessionTable,StateDir,StaticPrefix,StaticRoot,Storage,StorageDeclared,StorageProviderConfig,TLSCertFile,TLSKeyFile,TemplatesDir,TimeoutExemptPaths,TrustedProxies,WebhooksPrefix,WriteTimeout; methodsAddr,DatabaseAliases,DatabaseByAlias,DeclaredProviders,DefaultDatabase,DefaultDatabaseAlias,IsDev,IsProd,ToStorageConfigDatabaseConfig— fieldsDriver,MaxIdle,MaxLifetime,MaxOpen,URLExtensioninterface — methodsAttach,Name,ShutdownGCSStorageSpec— fieldsBucket,CredentialsSource,PublicBucketHealthzCheck— fieldsLatencyMS,Message,Name,StatusHealthzResponse— fieldsCheckedAt,Checks,StatusJWTKeySpec— fieldsAlgorithm,KID,PemEnv,PemPath,SecretEnvLivenessResponse— fieldsStatus,UptimeSecondsLocalStorageSpec— fieldsPathMultiSiteConfig— fieldsDefaultSite,Enabled,SitesMultiTenantConfig— fieldsDatabaseAliasTemplate,DefaultTenant,Enabled,Header,RequireIsolatedDB,RequireTenantStorage,Resolver,TenantsOpError— fieldsErr,Op; methodsError,UnwrapOptionOutboxConfig— fieldsBridges,Enabled,LeaseDuration,LeaseOwner,MaxRetries,MissingRoutePolicy,RetryBackoff,TableNamePluginAllowance— fieldsCapabilities,ProviderPluginsConfig— fieldsAllowExternal,Allowed,Commands; methodsPolicyReadinessResponse— fieldsCheckedAt,Checks,Reason,StatusRequestScope— fieldsDatabaseAlias,Host,Site,TenantS3StorageSpec— fieldsAccessKeyID,Bucket,CreateBucketIfMissing,Endpoint,PublicBucket,Region,SecretAccessKey,SessionToken,UsePathStyleSiteConfig— fieldsDatabase,Hosts,TenantDatabaseAliasTemplateStorageConfig— fieldsAzure,CircuitBreaker,Cleanup,DefaultVisibility,GCS,Local,Provider,PublicPaths,PublicURLBase,S3TenantConfig— fieldsDatabase,Site
Functions — ApplyProfile, BeginDraining, Bootstrap, ContractConfigKeyPatterns, DatabaseAliasFromContext, DefaultConfig, Draining, LoadConfig, New, NormalizeRuntimeConfig, QuickStart, RealtimeChannelPath, RequestScopeFromContext, SiteFromContext, TenantFromContext, ValidateReferential, ValidateSemantics, WithAPIKeys, WithAuthz, WithErrorEnvelope, WithExtensions, WithMail, WithOpenAuthz, WithProblemDetails, WithRateLimit, WithRealtime, WithStorage, WithTemplateFuncs, WithTemplates, WithTemplatesFS, WithUserProvider, WithUserProviderNamed, WithoutDefaults
Constants — RealtimeRoute
Variables — ErrDatabaseAliasNotFound, ErrInvalidConfigReference, ErrInvalidConfigValue, ErrModelsRegistryNotInitialized, ErrNilApp, ErrNilConfig, ErrNotInitialized, ErrServerAlreadyRunning, ErrTenantIsolationViolation
pkg/auth
github.com/jcsvwinston/nucleus/pkg/auth · 229 symbols · pkg.go.dev
Types
BackendBackendConfigBackendFactoryChain— methodsAuthenticate,NamesChainConfig— fieldsBackends,ProviderConfigClaims— fieldsRole,Roles,UserID,Username; methodsAllRoles,HasRoleFederatedConfig— fieldsCallbackBase,Instances,PendingTTL,ProviderConfigFederatedInstance— fieldsDisplayName,Name,ProviderFederatedSet— methodsBegin,CallbackIsCrossSiteFormPost,CallbackURL,Complete,Instances,Names,PendingCount,PublishesServiceMetadata,ServiceMetadataJWK— fieldsAlg,Crv,E,Kid,Kty,N,Use,X,YJWKSet— fieldsKeysJWTManager— methodsAudience,CurrentKID,Generate,GenerateWithRoles,JWKS,JWKSHandler,Middleware,OptionalJWTMiddleware,RemoveKey,Revoke,RotateKey,SetAudience,SetRevocationStore,Validate,ValidateContextMemcachedSessionStore— methodsAll,AllCtx,Commit,CommitCtx,Delete,DeleteCtx,Find,FindCtxMemoryRevocationStore— methodsLen,Revoke,RevokedRedisSessionStore— methodsAll,AllCtx,Commit,CommitCtx,Delete,DeleteCtx,Find,FindCtxRevocationStoreinterface — methodsRevoke,RevokedSQLSessionStore— methodsAll,AllCtx,Commit,CommitCtx,Delete,DeleteCtx,Find,FindCtxSQLSessionStoreConfig— fieldsDatabaseURL,TableNameSessionCache— methodsFlush,Forget,Get,GetBool,GetInt,Has,Put,PutBool,PutInt,Remember,RememberBool,RememberIntSessionConfig— fieldsCookieName,Domain,IdleTimeout,Lifetime,Path,SameSite,SecureSessionInfo— fieldsDeadline,Token,ValuesSessionManager— methodsActiveSessions,Destroy,Exists,Flash,FlashBool,FlashInt,Forget,GetBool,GetFlash,GetFlashBool,GetFlashInt,GetInt,GetString,HasSession,Invalidate,Keep,Middleware,Now,Pull,PullBool,PullInt,Put,PutBool,PutInt,Reflash,Remove,RenewToken,Revoke,RevokeWhere,SCS,SessionStore,SetSessionStore,SetStore,TokenSessionRuntimeIdentity— fieldsHost,Instance,PodSessionStoreSessionStoreFactorySessionStoreParamsSigningAlgorithmSigningKey— fieldsAlgorithm,ECDSAPrivate,HMACSecret,KID,RSAPrivateUserUserProviderinterface — methodsFindByEmail,FindByID,FindByUsername,ValidateCredentials
Functions — BuildSessionStore, CheckPassword, ClaimsFromContext, ClientIPFromRequest, ContextWithClaims, DetectSessionRuntimeIdentity, FederatedCallbackPath, FederatedMetadataPath, FederatedStartPath, HashPassword, NewChain, NewChainFrom, NewFederatedSet, NewJWTManager, NewJWTManagerFromKeys, NewJWTManagerFromSecret, NewMemcachedSessionStore, NewMemcachedSessionStoreFromServers, NewMemoryRevocationStore, NewRedisSessionStore, NewRedisSessionStoreFromURL, NewSQLSessionStore, NewSessionCache, NewSessionManager, NewSessionStoreRevocations, NewUserProviderBackend, RegisterBackend, RegisterSessionStore, RegisteredBackends, RegisteredSessionStores, RuntimeMetadataMiddleware
Constants — DefaultFederatedPendingTTL, ES256, HS256, RS256, SessionKeySubject, SessionMetaFirstSeenAtKey, SessionMetaHostKey, SessionMetaInstanceKey, SessionMetaLastSeenAtKey, SessionMetaPodKey, SessionMetaRemoteIPKey, SessionMetaUserAgentKey
Variables — ErrBackendUnavailable, ErrInvalidCredentials, ErrNilSessionManager, ErrSessionStoreNotIterable, ErrTokenRevoked, ErrUserNotFound
pkg/auth/apikeys
github.com/jcsvwinston/nucleus/pkg/auth/apikeys · 45 symbols · pkg.go.dev
Types
FlavorKey— fieldsCreatedAt,ExpiresAt,ID,LastUsedAt,Name,OwnerID,RevokedAt,RotatedFrom,Scopes,SecretHash; methodsActive,HasScopeSQLStore— methodsByID,Create,List,Revoke,TouchLastUsedSQLStoreConfig— fieldsFlavor,TableStoreinterface — methodsByID,Create,List,Revoke,TouchLastUsed
Functions — Authenticate, FromContext, Issue, Middleware, NewSQLStore, Require, Rotate, ScopeSubject
Constants — FlavorMySQL, FlavorPostgres, FlavorSQLite, HeaderName, Prefix, ScopeSubjectPrefix
Variables — ErrInvalidKey, ErrNotFound
pkg/auth/backend
github.com/jcsvwinston/nucleus/pkg/auth/backend · 24 symbols · pkg.go.dev
Types
Backendinterface — methodsAuthenticate,NameConfig— fieldsName,ProviderConfig; methodsBindFactoryUser— fieldsEmail,ID,IsSuperuser,Role,Roles,Username; methodsAllRoles,HasRole
Functions — Lookup, Register, Registered, Unregister
Variables — ErrBackendUnavailable, ErrInvalidCredentials, ErrUserNotFound
pkg/auth/backend/backendtest
github.com/jcsvwinston/nucleus/pkg/auth/backend/backendtest · 7 symbols · pkg.go.dev
Types
Suite— fieldsNew,Unavailable,UnknownUser,ValidPassword,ValidUser
Functions — Run
pkg/auth/federated
github.com/jcsvwinston/nucleus/pkg/auth/federated · 27 symbols · pkg.go.dev
Types
BeginRequest— fieldsCallbackURL,NonceCompleteRequest— fieldsForm,Nonce,Query,StateCrossSiteFormPostCallbackinterface — methodsCallbackIsCrossSiteFormPostFactoryProviderinterface — methodsBegin,Complete,NameRedirect— fieldsState,URLServiceMetadataPublisherinterface — methodsServiceMetadataUser
Functions — Lookup, Register, Registered, Unregister
Variables — ErrIdentityRejected, ErrProviderUnavailable
pkg/auth/federated/oidc
github.com/jcsvwinston/nucleus/pkg/auth/federated/oidc · 15 symbols · pkg.go.dev
Types
Config— fieldsClientID,ClientSecret,Issuer,RoleClaim,Scopes,SkipIssuerVerification,Timeout,UsernameClaimProvider— methodsBegin,Complete,Name
Functions — New
Constants — ProviderName
pkg/auth/sessionstore
github.com/jcsvwinston/nucleus/pkg/auth/sessionstore · 16 symbols · pkg.go.dev
Types
FactoryParams— fieldsDB,DatabaseURL,KeyPrefix,MemcachedServers,RedisURL,TableNameStoreinterface — methodsCommit,Delete,Find
Functions — Lookup, Register, Registered, Unregister
pkg/authz
github.com/jcsvwinston/nucleus/pkg/authz · 57 symbols · pkg.go.dev
Types
ActionResolverAuthzOptions— fieldsOnDeny,ResolveAction,ResolveSubjectCSVMigrationReport— fieldsBlankOrCommentLines,Changed,GroupingLinesPreserved,Path,PolicyLinesAlreadyMigrated,PolicyLinesUpgradedDenial— fieldsAuthenticated,Reason,StatusDenialHandlerEnforcer— methodsAddPolicy,AddRole,AllowAll,AllowResource,Can,Deny,GetAllRoles,GetGroupingPolicy,GetPolicy,GetRoles,Middleware,MiddlewareWithOptions,RemovePolicy,RemoveRole,RequireRole,RequireRoleWithOptions,SeedBootstrapAllowList,SeedBootstrapAllowListExcluding,SetupAdminPolicies,SetupModelPoliciesObjectEnforcer— methodsAddRole,Allow,Can,Deny,PoliciesSubjectResolver
Functions — ActionForMethod, BootstrapAllowList, ContextWithEnforcer, ContextWithObjectEnforcer, EnforcerFromContext, MigrateCSVPolicyFile, New, NewFromModel, NewObjectEnforcer, ObjectEnforcerFromContext, ObjectMiddleware
Constants — BootstrapSubject
pkg/circuit
github.com/jcsvwinston/nucleus/pkg/circuit · 17 symbols · pkg.go.dev
Types
Breaker— methodsDo,Opens,StateConfig— fieldsCooldown,FailureThreshold,HalfOpenMaxConcurrent,Now,OnStateChangeState— methodsString
Functions — New
Constants — StateClosed, StateHalfOpen, StateOpen
Variables — ErrOpen
pkg/db
github.com/jcsvwinston/nucleus/pkg/db · 87 symbols · pkg.go.dev
Types
AppliedMigration— fieldsAppliedAt,ID,NamespaceConfig— fieldsDatabaseMaxIdle,DatabaseMaxLifetime,DatabaseMaxOpen,DatabaseURL,DriverName,Engine,StatementObserverDB— methodsAutoMigrate,Close,Engine,Health,SqlDB,System,TxDriftEntry— fieldsActualChecksum,AppliedAt,ExpectedChecksum,ID,KindEngineExpectedColumn— fieldsName,NullableExpectedTable— fieldsColumns,NameMigrationStatus— fieldsApplied,AppliedAt,HasDown,HasUp,IDMigrator— methodsApplied,Create,Down,Drift,SchemaDrift,Status,Steps,UpMigratorConfig— fieldsDB,Dir,FS,ModuleSchemaDriftEntry— fieldsActual,Column,Expected,Kind,TableStatementInfo— fieldsArgs,Duration,Err,Operation,Query,RowsAffectedStatementObserver
Functions — ExecScript, IsUniqueViolation, New, NewMigrator, NewMigratorFromConfig, NewModuleFSMigrator, NewModuleMigrator, ResolveDriver, SystemFromURL
Constants — DriftKindChecksumMismatch, DriftKindMissingUpFile, DriftKindSchemaColumnNullability, DriftKindSchemaExtraColumn, DriftKindSchemaMissingColumn, DriftKindSchemaMissingTable, EngineSQL
Variables — ErrAutoMigrate, ErrSQLRequired, ErrSchemaDriftUnsupported, ErrUnsupportedEngine
pkg/db/driver
github.com/jcsvwinston/nucleus/pkg/db/driver · 6 symbols · pkg.go.dev
Types
UniqueViolationFunc
Functions — HasEngine, MustRegisterUniqueViolation, RegisterUniqueViolation, RegisteredEngines, UniqueViolationFuncs
pkg/db/driver/drivertest
github.com/jcsvwinston/nucleus/pkg/db/driver/drivertest · 6 symbols · pkg.go.dev
Types
Case— fieldsClassify,Engine,NotViolation,Violation
Functions — VerifyClassifier
pkg/errors
github.com/jcsvwinston/nucleus/pkg/errors · 58 symbols · pkg.go.dev
Types
ContextProviderinterface — methodsContextDomainError— fieldsCode,Details,Message,StatusCode; methodsContext,Error,LogLevel,Render,Report,WithDetailsErrorBody— fieldsCode,Details,MessageErrorHandler— methodsRender,ReportErrorHandlerConfig— fieldsGlobalContext,IgnoredErrors,LogLevelMap,ThrottleConfigErrorResponse— fieldsErrorLogLevelProviderinterface — methodsLogLevelProblem— fieldsCode,Detail,Details,Instance,Status,Title,TypeRenderableinterface — methodsRenderReportableinterface — methodsReportThrottleConfig— fieldsDuration,KeyFunc,RateLimit,SampleRate
Functions — BadRequest, Conflict, Forbidden, InternalError, NewErrorHandler, NewProblem, NotFound, Unauthorized, ValidationFailed, WriteError, WriteProblem
Constants — ProblemContentType
pkg/health
github.com/jcsvwinston/nucleus/pkg/health · 17 symbols · pkg.go.dev
Types
DBHealtherinterface — methodsHealthProberinterface — methodsName,ProbeResult— fieldsHealthy,LatencyMS,Message,Name
Functions — FuncProbe, NewDBProbe, NewMailProbe, NewRedisProbe, NewStorageProbe, Run, SupportsMailProbe
pkg/mail
github.com/jcsvwinston/nucleus/pkg/mail · 60 symbols · pkg.go.dev
Types
Attachment— fieldsContent,ContentID,ContentType,Filename,InlineCircuitBreakerConfig— fieldsCooldown,Enabled,FailureThreshold,HalfOpenMaxConcurrentConfig— fieldsCircuitBreaker,Driver,Logger,Plugins,SMTPHost,SMTPPass,SMTPPort,SMTPUser,TimeoutHealthCheckerinterface — methodsHealthyMemorySender— methodsHealth,Reset,Send,SentMessage— fieldsAttachments,Body,From,HTML,Headers,Subject,ToOutboxBridge— methodsClose,Healthy,Name,SendProviderFactorySenderinterface — methodsSendTemplates— methodsNames,Render
Functions — Discards, Enqueue, EnqueueTx, NewMemorySender, NewOutboxBridge, NewSender, ParseFS, RegisterProvider, RegisteredProviders, SetPluginHost
Constants — LogDriver, NoopDriver, OutboxTopic
pkg/model
github.com/jcsvwinston/nucleus/pkg/model · 168 symbols · pkg.go.dev
Types
BaseModel— fieldsCreatedAt,DeletedAt,ID,UpdatedAtCRUD— methodsCreate,Delete,FindAll,FindByID,SetDialect,SetSQLQueryObserver,UpdateCRUDOperatorinterface — methodsCreate,Delete,FindAll,FindByID,UpdateChoice— fieldsLabel,ValueFieldMeta— fieldsChoices,Column,ForeignColumn,ForeignModel,ForeignTable,GoType,HTMLType,IndexRefs,IsExcluded,IsFilter,IsForeignKey,IsList,IsPK,IsReadOnly,IsRequired,IsSearch,IsTenantField,Label,MaxLength,Name,UnknownDBTokensFieldMetaUpdate— fieldsHTMLType,IsExcluded,IsFilter,IsList,IsReadOnly,IsSearch,LabelFilter— fieldsColumn,Op,Value,ValuesFilterOpForeignKey— fieldsColumn,FieldName,ForeignColumn,ForeignModel,ForeignTableHookContext— fieldsContext,DB,Engine,TxHookFuncIndexMeta— fieldsColumns,Name,UniqueIndexRef— fieldsName,UniqueModelConfig— fieldsAfterCreate,AfterUpdate,BeforeCreate,BeforeDelete,BeforeUpdate,DatabaseAlias,ExcludeFields,FieldLabels,Filters,Icon,ListFields,OrderBy,PageSize,ReadOnly,RejectClientPK,SearchFieldsModelMeta— fieldsConfig,DatabaseAlias,Fields,ForeignKeys,Indexes,Name,Plural,PrimaryKey,Table,Type; methodsTenantFieldNamePaginatedResult— fieldsHasMore,IsEstimated,Items,Page,PageSize,Total,TotalPagesQueryOpts— fieldsExactTotal,Fields,Filters,OrderBy,Page,PageSize,Search,WhereRegistry— methodsAll,BulkUpdateFieldMeta,Count,Get,Register,UpdateFieldMetaSQLQueryEvent— fieldsArgs,Duration,Error,ModelName,Operation,Query,RowsAffectedSQLQueryObserver
Functions — BuildMSSQLMigrationScaffold, BuildMigrationScaffoldForSystem, BuildMySQLMigrationScaffold, BuildOracleMigrationScaffold, BuildPostgresMigrationScaffold, BuildSQLiteMigrationScaffold, ExtractMeta, NewCRUD, NewRegistry, ParseFilterOp, ResetDefaultSQLObservers, SanitizeOrderBy, SetDefaultSQLObserver
Constants — HookEngineSQL, OpContains, OpEndsWith, OpEqual, OpGreater, OpGreaterEqual, OpIn, OpIsNull, OpLess, OpLessEqual, OpNotEqual, OpNotIn, OpStartsWith
Variables — ErrClientAssignedPK, ErrDuplicateModelName, ErrNoPrimaryKey
pkg/nucleus
github.com/jcsvwinston/nucleus/pkg/nucleus · 312 symbols · pkg.go.dev
Types
APIDocumentSpec— fieldsBase,Pattern,ValidateRequestsAPIVersionApp— fieldsAPIDocument,Lifecycle,Middleware,Modules,OpenAPI,Options,ServicesAppBuilder— methodsBuild,Err,FromConfigFile,Mount,Serve,Start,Use,WithAPIKeys,WithAuthz,WithConfigStrict,WithDatabases,WithErrorEnvelope,WithExtensions,WithMail,WithOpenAPIDocument,WithOpenAPIHandler,WithOpenAPIValidation,WithOpenAuthz,WithProblemDetails,WithRateLimit,WithRealtime,WithStorage,WithTemplateFuncs,WithTemplates,WithTemplatesFS,WithUnknownFields,WithUserProvider,WithUserProviderNamed,WithoutDefaultsCacheSourceinterface — methodsCacheConfigSource— fieldsKind,Line,PathContext— methodsBindForm,BindHeaders,BindJSON,BindPath,BindQuery,BindRequest,BindXML,Can,CanObject,Claims,Get,HTML,HasRole,JSON,Negotiate,NoContent,Param,Query,RawHTML,Redirect,Render,RequestID,SessionGetString,SessionPutString,Set,Status,String,UserID,XMLCreatorinterface — methodsCreateDestroyerinterface — methodsDestroyEffectiveConfig— fieldsValuesEffectiveValue— fieldsKey,Redacted,Source,ValueEndpointOptionEventBusinterface — methodsEmitSQL,SubscribeHTTP,SubscribeSQLExtensionFederatedSignInConfig— fieldsRedirectHTTPEvent— fieldsDuration,EmittedAt,Method,NodeID,Path,PayloadPreview,RemoteIP,RequestID,Status,TraceID,UserAgent,UserIDHandlerIndexerinterface — methodsIndexJobRegistryinterface — methodsRegisterJobSpec— fieldsCron,Every,Handler,Singleton,TimeoutKey— methodsFromContext,String,WithValueLifecycleHooks— fieldsOnShutdown,OnStartMethodSet— methodsHasMiddlewareModule— fieldsCSRFExempt,Config,DefaultDB,DependsOn,Jobs,Middleware,Migrations,Models,Name,OnShutdown,OnStart,Policies,Prefix,Requires,Routes,Templates,Version,Webhooks; methodsBuildModuleCheck— fieldsErr,NameModuleSpecinterface — methodsConfig,DefaultDB,Jobs,Middleware,Migrations,Models,Name,OnShutdown,OnStart,Prefix,Requires,Routes,WebhooksOpenAPISpec— fieldsHandler,PatternOptionPatcherinterface — methodsPatchPolicyRule— fieldsAction,Effect,Object,SubjectRealtimeSourceinterface — methodsRealtimeResourceMethodRouterinterface — methodsDelete,Get,Group,Mount,Patch,Post,Put,Resource,WithRuntimeinterface — methodsApplyModuleMigrations,AuthChain,Authorizer,AutoMigrate,DB,DBForRequest,DatabaseHandle,DatabaseHandles,Databases,JWT,Logger,Mailer,Models,Observability,Outbox,Session,Storage,TasksSQLEvent— fieldsArgs,Duration,EmittedAt,Err,ModelName,NodeID,Operation,Query,RequestID,RowsAffected,TraceID,UserIDServiceRegistration— fieldsHealth,Name,RunShowerinterface — methodsShowTaskInspectorSourceinterface — methodsTaskInspectorUpdaterinterface — methodsUpdateWebhookRegistryinterface — methodsRegisterWebhookSpec— fieldsHandler,MaxBytes,Methods,Secret,TimestampTolerance
Functions — CacheFrom, CheckModule, Description, FederatedSignIn, Handle, LoadEffective, Methods, New, NewKey, Provide, RealtimeFrom, Resolve, Run, RunContext, SetValue, SignWebhookBody, SignWebhookBodyWithTimestamp, Status, Summary, TaskInspectorFrom, Timeout, Value, Versioned, WithAPIKeys, WithAuthz, WithErrorEnvelope, WithExtensions, WithMail, WithOpenAuthz, WithProblemDetails, WithRateLimit, WithRealtime, WithStorage, WithTemplateFuncs, WithTemplates, WithTemplatesFS, WithoutDefaults
Constants — Create, Destroy, EnvProduction, FederatedSignInModuleName, Index, MaxConfigFileBytes, Patch, SessionKeyFederatedEmail, SessionKeyFederatedInstance, SessionKeyFederatedUserID, SessionKeyFederatedUsername, Show, UnknownFieldsStrict, UnknownFieldsWarn, Update, WebhookSignatureHeader, WebhookTimestampHeader
Variables — ErrAlreadyProvided, ErrConfigFileTooLarge, ErrInvalidConfigReference, ErrInvalidConfigValue, ErrInvalidJobSpec, ErrInvalidModuleConfig, ErrInvalidModulePolicy, ErrInvalidUnknownFieldsMode, ErrInvalidWebhookSpec, ErrMixedConfigFormats, ErrModuleDependency, ErrNotProvided, ErrSecurityKeyNotNullable, ErrUnknownConfigKeys, ErrUnsupportedConfigFormat
pkg/observability
github.com/jcsvwinston/nucleus/pkg/observability · 102 symbols · pkg.go.dev
Types
Bus— methodsEmit,HasSubscribers,Stats,Subscribe,SubscriberCountCustomEvent— fieldsContentType,Labels,Name,Payload; methodsEmittedAt,Kind,NodeID,ReleaseEventinterface — methodsEmittedAt,Kind,NodeID,ReleaseEventKind— methodsStringFilter— fieldsKinds,NodeIDs; methodsMatchesHTTPRequestEvent— fieldsDuration,Method,Path,PayloadPreview,RemoteIP,RequestID,Status,TraceID,UserAgent,UserID; methodsEmittedAt,Kind,NodeID,ReleaseRingBuffer— methodsCapacity,Dropped,Len,Push,SnapshotSQLStatementEvent— fieldsArgs,Duration,Err,ModelName,Operation,Query,RequestID,RowsAffected,TraceID,UserID; methodsEmittedAt,Kind,NodeID,ReleaseSessionChangeEvent— fieldsChange,IP,LastRoute,TokenShort,TraceID,UserAgent,UserID; methodsEmittedAt,Kind,NodeID,ReleaseSessionChangeKind— methodsStringStats— fieldsDropped,Emitted,SubscribersSubscribeOptions— fieldsChannelSizeSubscription— methodsCancel,Ch,Filter
Functions — AcquireCustomEvent, AcquireHTTPRequestEvent, AcquireSQLStatementEvent, AcquireSessionChangeEvent, NewBus, NewRingBuffer
Constants — DefaultSubscriberChannelSize, KindCustom, KindHTTPRequest, KindSQLStatement, KindSessionChange, KindUnknown, SessionChangeCreated, SessionChangeDestroyed, SessionChangeTouched, SessionChangeUnspecified
pkg/observability/hooks
github.com/jcsvwinston/nucleus/pkg/observability/hooks · 27 symbols · pkg.go.dev
Types
HTTPMiddlewareConfig— fieldsBus,ExcludePaths,MaxPathBytes,MaxPayloadPreviewBytes,MaxUserAgentBytes,NodeIDSQLObserverConfig— fieldsBus,NodeIDSessionInfo— fieldsIP,LastRoute,TokenShort,TraceID,UserAgent,UserIDSessionRecorder— methodsCreated,Destroyed,TouchedSessionRecorderConfig— fieldsBus,NodeID
Functions — NewHTTPMiddleware, NewSQLObserver, NewSessionRecorder
pkg/observe
github.com/jcsvwinston/nucleus/pkg/observe · 25 symbols · pkg.go.dev
Types
RedactionConfig— fieldsDisabled,ExtraKeys,PlaceholderTelemetryConfig— fieldsOTLPEndpoint,PrometheusEnabled,PrometheusRequested,ServiceName
Functions — CtxWithModelObserved, CtxWithRequestID, CtxWithTenantID, CtxWithTraceID, CtxWithUserID, DefaultRedactedKeys, IsModelObserved, NewLogger, NewLoggerWithRedaction, RequestIDFromCtx, SetupOpenTelemetry, TenantIDFromCtx, TraceIDFromCtx, UserIDFromCtx, WithContext
Constants — RedactionPlaceholder
pkg/observe/exporter
github.com/jcsvwinston/nucleus/pkg/observe/exporter · 14 symbols · pkg.go.dev
Types
Config— fieldsEndpoint,Insecure,ServiceNameExporter— fieldsHandler,Reader,Shutdown,SpansFactory
Functions — Lookup, MustRegister, Register, Registered
pkg/plugins
github.com/jcsvwinston/nucleus/pkg/plugins · 131 symbols · pkg.go.dev
Types
Allowance— fieldsCapabilities,ProviderDescriptor— fieldsBinaryPath,Capabilities,ProbeError,Provider,Refused,SourceExecutionError— fieldsCause,Code,ExitCode,Message,Retriable,Stderr; methodsError,UnwrapFailure— fieldsCode,ExitCode,Message,Retriable; methodsErrorHostinterface — methodsCollectInventory,ExecuteRequest,ProbeCapabilitiesLocalHost— methodsCollectInventory,ExecuteRequest,ProbeCapabilitiesMailSendOutput— fieldsAccepted,ProviderRequestIDMailSendPayload— fieldsBody,From,Headers,Subject,ToPlugin— fieldsCustom,MailSend,QueuePublish,WebhookDeliverPolicy— fieldsAllowed,Commands,DenyExternal; methodsAllowCommand,AllowPlugin,ListsCommands,ListsPlugins,StringQueuePublishOutput— fieldsAccepted,MessageIDQueuePublishPayload— fieldsBody,Headers,Key,TopicRefusedError— fieldsCapability,Key,Kind,Name; methodsErrorRequestEnvelope— fieldsCapability,Metadata,Payload,Provider,RequestID,TimeoutMS,Timestamp,VersionResponseEnvelope— fieldsError,Metrics,OK,Output,ProviderRequestID,RequestID,Retriable,VersionResponseError— fieldsCode,MessageResponseMetrics— fieldsDurationMSSourceWebhookDeliverOutput— fieldsAccepted,StatusCodeWebhookDeliverPayload— fieldsBody,Headers,Method,TimeoutMS,URL
Functions — BuiltinMailDescriptorsFromProviders, CollectInventory, DecodeMailSendOutput, DiscoverAllowed, DiscoverExternal, ExecuteRequest, Fail, IsExecutableFile, NewRequestEnvelope, ParseProviderFromBinary, ProbeCapabilities, Serve, ServeIO, SupportsCapability
Constants — CapabilityMailSend, CapabilityQueuePublish, CapabilityWebhookDeliver, DefaultProbeTimeout, EnvelopeVersionV1, ExitCodeInternal, ExitCodeRejected, ExitCodeSuccess, ExitCodeTimeout, ExitCodeTransient, ExitCodeValidation, GenericBinaryPrefix, SourceBuiltinMail, SourceExternalGeneric
pkg/router
github.com/jcsvwinston/nucleus/pkg/router · 193 symbols · pkg.go.dev
Types
APIVersion— fieldsDeprecated,Name,Policy,Successor,Sunset; methodsHeaders,Path,ValidateCORSOptions— fieldsAllowCredentials,AllowedHeaders,AllowedMethods,AllowedOrigins,ExposedHeaders,MaxAgeCSRFOptions— fieldsAllowSameSite,CookieName,EnableOriginCheck,EnableXSRFCookie,EncryptionKey,ExemptPaths,FormField,HeaderName,InsecureCookie,Logger,OriginOnly,RotateToken,SessionKey,UseSessionToken,XSRFCookieNameContext— fieldsRequest,Writer; methodsBind,BindData,Data,Download,File,Form,HTML,JSON,Next,NoContent,Param,Query,Redirect,SessionDestroy,SessionGetBool,SessionGetInt,SessionGetString,SessionManager,SessionPutBool,SessionPutInt,SessionPutString,SessionRemove,SessionRenewToken,Set,T,Value,XMLContextHandlerFuncContextOptionHTTPError— fieldsCode,Message; methodsErrorHandlerMiddlewareMux— methodsDelete,Get,Group,Handle,HandleFunc,Mount,Patch,Post,Put,Resource,Route,ServeHTTP,SetHTMLTemplates,SetSessionManager,Static,Use,Version,Walk,WithOptionRateLimitOptions— fieldsBurst,KeyFunc,Requests,RoleDimension,RouteDimension,ScopeByRole,ScopeByRoute,WindowRateLimitPolicy— fieldsBurst,ByRole,ByRoute,Requests,WindowResourceHandlers— fieldsCreate,Delete,List,Retrieve,UpdateRouteEntry— fieldsMethod,Middlewares,PatternRouterWrapResponseWriter— methodsBytesWritten,Flush,Hijack,Status,Unwrap,Write,WriteHeader,WroteHeader
Functions — Bind, BindForm, BindHeaders, BindMax, BindPath, BindQuery, BindRequest, CORSMiddleware, CSRFMiddleware, CSRFToken, Compress, ContextHandler, Created, DefaultStack, Error, FromHTTP, FromHandler, GetReqID, IsWebSocketUpgrade, JSON, Matched, Negotiate, New, NewCSRFMiddleware, NewContext, NewHTTPError, NewMux, NewWrapResponseWriter, NoContent, Paginate, RateLimitFromPolicy, RateLimitMiddleware, RealIP, Recoverer, RecovererWithLogger, RequestID, RequestLogger, RouteFromContext, SecurityHeaders, TelemetryMiddleware, Timeout, TimeoutMiddleware, TimeoutMiddlewareWithExemptions, WhenMatched, WithCORSCredentials, WithCORSOrigins, WithCSRF, WithCSRFInsecureCookie, WithDevelopmentErrors, WithHSTS, WithProblemDetails, WithRateLimit, WithRateLimitPolicy, WithSession, WithTemplates, WithTimeout, WithTimeoutExempt, WithTrustedProxies, Wrap
Variables — ErrCSRFEncryptionKey, ErrDownloadFilenameInvalid, ErrFilePathRequired, ErrNilContextRequest, ErrNilContextWriter, ErrSessionManagerNotSet, ErrTemplateEngineNotSet, ErrTemplateNameRequired
pkg/router/interceptor
github.com/jcsvwinston/nucleus/pkg/router/interceptor · 13 symbols · pkg.go.dev
Types
Config— fieldsName,ProviderConfig; methodsBindErrorReporterinterface — methodsReportErrorFactoryInterceptor
Functions — Build, Lookup, Register, Registered, Unregister
pkg/signals
github.com/jcsvwinston/nucleus/pkg/signals · 45 symbols · pkg.go.dev
Types
Bus— methodsClear,Dropped,Emit,EmitAsync,OnEvent— fieldsCtx,ModelName,Payload,SignalHandlerRedisRelay— methodsChannel,Close,ForwardToBus,Publish,SubscribeRedisRelayConfig— fieldsChannelPrefix,RedisURLSignalTopic— methodsName,String
Functions — Define, NewBus, NewRedisRelay, Publish, PublishAsync, Subscribe
Constants — PostCreate, PostDelete, PostSave, PostUpdate, PreCreate, PreDelete, PreSave, PreUpdate
Variables — ErrHandlerPanic, ErrNilBus, ErrNilHandler, ErrNilRelay, ErrRedisURLRequired, ErrSignalRequired
pkg/storage
github.com/jcsvwinston/nucleus/pkg/storage · 84 symbols · pkg.go.dev
Types
AzureConfigCircuitBreakerConfigCleaner— methodsStart,StopCleanupConfigConfigCredentialSourceErrInvalidKeyErrNotFoundGCSConfigListOptionsListResultLocalConfigLocalStore— methodsClose,Copy,Delete,Exists,Get,List,PublicURL,Put,SignedURLMemoryStore— methodsClose,Copy,Delete,Exists,Get,List,PublicURL,Put,SignedURLObjectInfoProviderFactoryProviderTypePublicMapper— methodsIsPublicKey,Mount,MountAll,PublicURLPutOptionsS3ConfigStoreTenantKeyTenantStore— methodsClose,Copy,Delete,Exists,Get,List,PublicURL,Put,SignedURL,Unwrap,UnwrapIfCleanerTenantStoreOptions— fieldsLogger,StrictURLConfigVisibility
Functions — CleanupTempKey, DefaultConfig, IsTempKey, New, NewCleaner, NewLocalStore, NewMemoryStore, NewPublicMapper, NewPublicMapperForConfig, NewTenantStore, NewTenantStoreWithOptions, NewWithTenant, RegisterProvider, RegisteredProviders
Constants — Private, ProviderAzure, ProviderGCS, ProviderLocal, ProviderS3, Public
Variables — ErrNoTenantInContext
pkg/storage/provider
github.com/jcsvwinston/nucleus/pkg/storage/provider · 109 symbols · pkg.go.dev
Types
AzureConfig— fieldsAccountKey,AccountName,Container,PublicContainerCircuitBreakerConfig— fieldsCooldown,Enabled,FailureThreshold,HalfOpenMaxConcurrentCleanupConfig— fieldsEnabled,Interval,MaxAge,PrefixConfig— fieldsAzure,CircuitBreaker,Cleanup,DefaultVisibility,GCS,Local,Provider,ProviderConfig,PublicPaths,PublicURLBase,S3; methodsBindProvider,ValidateCredentialSource— fieldsEnvVar,File,SecretManager,Value; methodsResolveErrInvalidKey— methodsErrorErrNotFound— methodsErrorFactoryGCSConfig— fieldsBucket,CredentialsSource,PublicBucketListOptions— fieldsDelimiter,Limit,Marker,PrefixListResult— fieldsCommonPrefixes,NextMarker,Objects,TruncatedLocalConfig— fieldsPathObjectInfo— fieldsContentType,Key,Metadata,Size,UpdatedAt,VisibilityProviderTypePutOptions— fieldsContentType,Metadata,TenantPrefix,VisibilityS3Config— fieldsAccessKeyID,Bucket,CreateBucketIfMissing,Endpoint,PublicBucket,Region,SecretAccessKey,SessionToken,UsePathStyleStoreinterface — methodsClose,Copy,Delete,Exists,Get,List,PublicURL,Put,SignedURLURLConfig— fieldsContentType,Disposition,ExpiresVisibility
Functions — DefaultConfig, EscapeURLPath, Lookup, NormalizeKey, Register, Registered, Unregister, ValidateKey, ValidateKeyPrefix
Constants — Private, ProviderAzure, ProviderGCS, ProviderLocal, ProviderS3, Public
pkg/tasks
github.com/jcsvwinston/nucleus/pkg/tasks · 130 symbols · pkg.go.dev
Types
Config— fieldsConcurrency,Queues,RedisURL,StrictPriorityEnqueuePolicy— fieldsBackoffBase,BackoffMax,MaxRetry,ProcessIn,Queue,Retention,Timeout,UniqueKeyEnqueueRecord— fieldsEnqueuedAt,ID,Payload,Queue,TypeEnqueueRecorderinterface — methodsEnqueued,ResetEnqueuedHandlerFuncInspectorinterface — methodsInspectRuntime,OperateQueueManagerinterface — methodsClose,EnqueueJSON,EnqueueJSONCtx,EnqueueJSONCtxWithPolicy,EnqueueJSONWithPolicy,HandleFunc,RunQueueActionResult— fieldsAction,Affected,Applied,Enabled,GeneratedAt,Message,QueueRuntimeQueueSnapshot— fieldsActive,Aggregating,Archived,Completed,FailedAll,FailedToday,LatencyMS,Name,Paused,Pending,ProcessedAll,ProcessedToday,Retry,Scheduled,SizeRuntimeScheduleSnapshot— fieldsID,NextEnqueueAt,PrevEnqueueAt,Spec,TaskTypeRuntimeServerSnapshot— fieldsActiveWorkers,Concurrency,Host,ID,PID,Queues,StartedAt,Status,StrictPriorityRuntimeSnapshot— fieldsEnabled,GeneratedAt,Queues,Reason,Schedules,Servers,TotalActive,TotalAggregating,TotalArchived,TotalCompleted,TotalFailed,TotalFailedAll,TotalPending,TotalProcessed,TotalProcessedAll,TotalQueues,TotalRetry,TotalScheduled,TotalSchedules,TotalServers,TotalSize,TotalWorkers,WorkersRuntimeWorkerSnapshot— fieldsDeadline,Host,PID,Queue,ServerID,StartedAt,TaskID,TaskTypeSchedulerinterface — methodsClose,RegisterJSON,Start,UnregisterTaskinterface — methodsPayload,Type
Functions — DecodeJSONPayload, DefaultEnqueuePolicy, NormalizeQueueAction, SupportedQueueActions
Constants — QueueActionArchiveRetry, QueueActionPause, QueueActionPurgeArchived, QueueActionRetry, QueueActionRetryArchived, QueueActionUnpause
Variables — ErrNilHandler, ErrNilManager, ErrRedisURLRequired, ErrTaskTypeRequired
pkg/validate
github.com/jcsvwinston/nucleus/pkg/validate · 2 symbols · pkg.go.dev
Functions — RegisterRule, Validate
Fields an extension may rely on
An app.Extension receives the whole *app.App. These are the 20 fields of App that Nucleus freezes for extensions, kept in contracts/baseline/extension_surface.txt and compared with the code by the same CI: removing one, or adding one without listing it, fails the build.
AuthChain *auth.ChainAuthFederated *auth.FederatedSetAuthorizer *authz.EnforcerCache cache.CacheConfig *app.ConfigDB *db.DBDBs map[string]*db.DBI18n *i18n.TranslatorJWT *auth.JWTManagerLogger *slog.LoggerMailer mail.SenderModels *model.RegistryObservability *observability.BusOutbox *outbox.ManagedOutboxRealtime *realtime.HubRouter *router.RouterSession *auth.SessionManagerSessionRecorder *hooks.SessionRecorderStorage provider.StoreTemplates *template.Template