Documentation
¶
Overview ¶
Package foundry is the root package of the Foundry-Go backend framework.
Foundry-Go provides strongly typed APIs and Laravel-inspired developer experience through explicit Go constructors and owned runtime resources. Applications normally use application.New from the application package for typed configuration, named services and configured HTTP assembly. New provides direct foundation assembly with explicit providers. Both use the same shared lifecycle; public feature packages own their contracts and implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(options ...foundation.Option) *foundation.Builder
New starts direct foundation assembly. Register providers, Build the typed service graph, then Run one of the registered framework kernels. For configured services and HTTP assembly, use application.New from the application package.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package application assembles configured Foundry services, domain declarations and runtime kernels without consumer-written infrastructure factories.
|
Package application assembles configured Foundry services, domain declarations and runtime kernels without consumer-written infrastructure factories. |
|
Package attachments owns typed model collections and recoverable storage workflows.
|
Package attachments owns typed model collections and recoverable storage workflows. |
|
command
Package command provides read-only attachment owner-orphan inspection and bounded regeneration of declared image variants.
|
Package command provides read-only attachment owner-orphan inspection and bounded regeneration of declared image variants. |
|
Package attribution captures immutable human/system and request provenance.
|
Package attribution captures immutable human/system and request provenance. |
|
Package audit records model history and typed domain events through the actual business transaction.
|
Package audit records model history and typed domain events through the actual business transaction. |
|
command
Package command supplies the explicit audit retention operation.
|
Package command supplies the explicit audit retention operation. |
|
record
Package record supplies typed audit snapshots and generated registration contracts below audit storage.
|
Package record supplies typed audit snapshots and generated registration contracts below audit storage. |
|
Package auth provides model-first authentication and typed authorization.
|
Package auth provides model-first authentication and typed authorization. |
|
challenge
Package challenge owns single-use, model-bound recovery credentials.
|
Package challenge owns single-use, model-bound recovery credentials. |
|
challenge/postgres
Package postgres persists single-use recovery credentials through explicit migrations and generated queries.
|
Package postgres persists single-use recovery credentials through explicit migrations and generated queries. |
|
emailverification
Package emailverification binds one-time verification to a concrete model's current stored email.
|
Package emailverification binds one-time verification to a concrete model's current stored email. |
|
lockout
Package lockout provides typed failed-credential windows and temporary lockout.
|
Package lockout provides typed failed-credential windows and temporary lockout. |
|
lockout/memory
Package memory supplies an explicit single-process lockout authority.
|
Package memory supplies an explicit single-process lockout authority. |
|
mfa
Package mfa owns typed TOTP/recovery factors and model-first factor management.
|
Package mfa owns typed TOTP/recovery factors and model-first factor management. |
|
mfa/command
Package command supplies the explicit MFA key-rotation operation.
|
Package command supplies the explicit MFA key-rotation operation. |
|
mfa/postgres
Package postgres stores encrypted MFA factors through explicit migrations and generated model queries.
|
Package postgres stores encrypted MFA factors through explicit migrations and generated model queries. |
|
oauth
Package oauth is an OAuth 2.0 authorization-code client with PKCE and OpenID Connect ID-token verification for social login.
|
Package oauth is an OAuth 2.0 authorization-code client with PKCE and OpenID Connect ID-token verification for social login. |
|
password
Package password provides bounded Argon2id hashing and verification.
|
Package password provides bounded Argon2id hashing and verification. |
|
passwordreset
Package passwordreset provides typed model-first password recovery.
|
Package passwordreset provides typed model-first password recovery. |
|
session
Package session manages opaque, revocable credentials for typed model guards.
|
Package session manages opaque, revocable credentials for typed model guards. |
|
session/postgres
Package postgres persists session credentials through Foundry-owned PostgreSQL models and explicit migrations.
|
Package postgres persists session credentials through Foundry-owned PostgreSQL models and explicit migrations. |
|
token
Package token manages model-owned personal and renewable access credentials.
|
Package token manages model-owned personal and renewable access credentials. |
|
token/postgres
Package postgres implements authoritative token persistence through explicit Foundry migrations and generated model queries.
|
Package postgres implements authoritative token persistence through explicit Foundry migrations and generated model queries. |
|
Package cache binds semantic cache declarations to concrete Go key and value types.
|
Package cache binds semantic cache declarations to concrete Go key and value types. |
|
file
Package file implements a bounded persistent cache under an owned os.Root.
|
Package file implements a bounded persistent cache under an owned os.Root. |
|
memory
Package memory supplies a bounded, concurrency-safe cache backend for local development and deterministic tests.
|
Package memory supplies a bounded, concurrency-safe cache backend for local development and deterministic tests. |
|
null
Package null supplies a cache backend that retains nothing, for disabling a cache store without changing its typed declarations.
|
Package null supplies a cache backend that retains nothing, for disabling a cache store without changing its typed declarations. |
|
postgres
Package postgres implements persistent cache using an explicitly migrated PostgreSQL table and borrowed Foundry connection.
|
Package postgres implements persistent cache using an explicitly migrated PostgreSQL table and borrowed Foundry connection. |
|
Package cli declares typed commands, parses invocations before service startup and runs them through Foundry's shared application lifecycle.
|
Package cli declares typed commands, parses invocations before service startup and runs them through Foundry's shared application lifecycle. |
|
Package clock supplies injectable application time.
|
Package clock supplies injectable application time. |
|
cloud
|
|
|
credentials
Package credentials is the framework-owned boundary shared by S3, R2 and SES.
|
Package credentials is the framework-owned boundary shared by S3, R2 and SES. |
|
cmd
|
|
|
foundry
command
Command foundry provides framework development tools in a consumer workspace.
|
Command foundry provides framework development tools in a consumer workspace. |
|
Package collection provides focused transformations over ordinary Go slices.
|
Package collection provides focused transformations over ordinary Go slices. |
|
Package config decodes layered settings through typed field declarations.
|
Package config decodes layered settings through typed field declarations. |
|
toml
Package toml adapts bounded TOML documents to Foundry's typed configuration schema.
|
Package toml adapts bounded TOML documents to Foundry's typed configuration schema. |
|
Package contract owns typed transport descriptions shared by runtime adapters and client exporters.
|
Package contract owns typed transport descriptions shared by runtime adapters and client exporters. |
|
manifest
Package manifest assembles feature-owned transport metadata into one versioned client contract.
|
Package manifest assembles feature-owned transport metadata into one versioned client contract. |
|
Package countries supplies an ordinary typed country model and an explicitly invoked, versioned reference-data seeder.
|
Package countries supplies an ordinary typed country model and an explicitly invoked, versioned reference-data seeder. |
|
Package database owns execution and transaction contracts shared by Foundry's generated query APIs and infrastructure adapters.
|
Package database owns execution and transaction contracts shared by Foundry's generated query APIs and infrastructure adapters. |
|
codec
Package codec preserves concrete Go types through the SQL value boundary.
|
Package codec preserves concrete Go types through the SQL value boundary. |
|
command
Package command provides migration and seeder commands for a consumer binary.
|
Package command provides migration and seeder commands for a consumer binary. |
|
encrypted
Package encrypted provides model field types that are stored as authenticated encryption envelopes, like Laravel's encrypted casts.
|
Package encrypted provides model field types that are stored as authenticated encryption envelopes, like Laravel's encrypted casts. |
|
lifecycle
Package lifecycle defines typed model lifecycle data shared by generated hooks, observers and audit integrations.
|
Package lifecycle defines typed model lifecycle data shared by generated hooks, observers and audit integrations. |
|
migrate
Package migrate declares immutable, versioned schema changes and validates migration history.
|
Package migrate declares immutable, versioned schema changes and validates migration history. |
|
orm
Package orm declares typed tables without generated model adapters.
|
Package orm declares typed tables without generated model adapters. |
|
orm/expr
Package expr provides thin, typed SQL expressions in explicit source scopes.
|
Package expr provides thin, typed SQL expressions in explicit source scopes. |
|
orm/internal/enuminit
Package enuminit deliberately declares models before generated enum variables.
|
Package enuminit deliberately declares models before generated enum variables. |
|
orm/rows
Package rows provides typed aliases, joins and complete row projections.
|
Package rows provides typed aliases, joins and complete row projections. |
|
postgres
Package postgres adapts pgx to Foundry's database contracts.
|
Package postgres adapts pgx to Foundry's database contracts. |
|
prune
Package prune removes obsolete models in bounded batches, like Laravel's Prunable and MassPrunable models.
|
Package prune removes obsolete models in bounded batches, like Laravel's Prunable and MassPrunable models. |
|
relation
Package relation provides explicit loaded states for typed model relations.
|
Package relation provides explicit loaded states for typed model relations. |
|
seed
Package seed runs explicitly registered data seeders through normal Foundry transactions.
|
Package seed runs explicitly registered data seeders through normal Foundry transactions. |
|
Package datatable binds typed report projections to declared client filters, authorization, deterministic pages and bounded CSV/XLSX exports.
|
Package datatable binds typed report projections to declared client filters, authorization, deterministic pages and bounded CSV/XLSX exports. |
|
importer
Package importer streams CSV and XLSX uploads into typed rows.
|
Package importer streams CSV and XLSX uploads into typed rows. |
|
internal/exportio
Package exportio owns the standard io.Writer adapters used by datatable export.
|
Package exportio owns the standard io.Writer adapters used by datatable export. |
|
internal/spreadsheet
Package spreadsheet owns the SpreadsheetML (XLSX) conventions shared by datatable exports and imports: cell references, OOXML text escapes and serial dates.
|
Package spreadsheet owns the SpreadsheetML (XLSX) conventions shared by datatable exports and imports: cell references, OOXML text escapes and serial dates. |
|
Package decimal provides immutable, comparable finite decimal values without floating-point conversion.
|
Package decimal provides immutable, comparable finite decimal values without floating-point conversion. |
|
money
Package money pairs exact decimal amounts with ISO 4217 currencies.
|
Package money pairs exact decimal amounts with ISO 4217 currencies. |
|
Package devserver implements a development server supervision loop that watches Go sources and declared configuration inputs, settles file change bursts, rebuilds the application binary with link-time optimizations, and gracefully restarts the child process while keeping the previous server running on build failure.
|
Package devserver implements a development server supervision loop that watches Go sources and declared configuration inputs, settles file change bursts, rebuilds the application binary with link-time optimizations, and gracefully restarts the child process while keeping the previous server running on build failure. |
|
Package diagnostics exposes bounded, payload-free operational views through ordinary authenticated Foundry routes.
|
Package diagnostics exposes bounded, payload-free operational views through ordinary authenticated Foundry routes. |
|
Package email builds bounded messages, renders typed templates and submits through borrowed transports.
|
Package email builds bounded messages, renders typed templates and submits through borrowed transports. |
|
cloudflare
Package cloudflare submits MIME through Cloudflare Email Service's REST API.
|
Package cloudflare submits MIME through Cloudflare Email Service's REST API. |
|
failover
Package failover composes borrowed email transports.
|
Package failover composes borrowed email transports. |
|
internal/httptransport
Package httptransport owns the shared one-request, bounded-response policy.
|
Package httptransport owns the shared one-request, bounded-response policy. |
|
log
Package log simulates acceptance while logging only bounded message metadata.
|
Package log simulates acceptance while logging only bounded message metadata. |
|
mailgun
Package mailgun submits multipart messages through Mailgun's v3 API.
|
Package mailgun submits multipart messages through Mailgun's v3 API. |
|
memory
Package memory supplies a bounded, opt-in email recorder.
|
Package memory supplies a bounded, opt-in email recorder. |
|
postmark
Package postmark submits through Postmark's single-email API.
|
Package postmark submits through Postmark's single-email API. |
|
resend
Package resend submits through Resend's single-email HTTP API.
|
Package resend submits through Resend's single-email HTTP API. |
|
ses
Package ses submits MIME through SES SendRawEmail using the existing AWS SDK credential and SigV4 interfaces.
|
Package ses submits MIME through SES SendRawEmail using the existing AWS SDK credential and SigV4 interfaces. |
|
smtp
Package smtp sends MIME messages over SMTP connections owned by the driver.
|
Package smtp sends MIME messages over SMTP connections owned by the driver. |
|
Package encryption provides bounded, versioned AES-256-GCM envelopes using Go's random-nonce AEAD.
|
Package encryption provides bounded, versioned AES-256-GCM envelopes using Go's random-nonce AEAD. |
|
Package enum describes generated named string and integer values without erasing their Go type.
|
Package enum describes generated named string and integer values without erasing their Go type. |
|
Package events provides concrete payload descriptors and ordered in-process dispatch.
|
Package events provides concrete payload descriptors and ordered in-process dispatch. |
|
Package extensions shares typed model ownership for framework model stores.
|
Package extensions shares typed model ownership for framework model stores. |
|
slots
Package slots binds generated model extension slots to the translation, attachment and metadata managers.
|
Package slots binds generated model extension slots to the translation, attachment and metadata managers. |
|
Package fault provides transport-independent, classifiable framework errors.
|
Package fault provides transport-independent, classifiable framework errors. |
|
Package foundation owns application assembly and lifecycle contracts shared by all Foundry kernels.
|
Package foundation owns application assembly and lifecycle contracts shared by all Foundry kernels. |
|
Package health owns bounded dependency readiness checks.
|
Package health owns bounded dependency readiness checks. |
|
checks
Package checks adapts framework services to bounded, read-only readiness probes.
|
Package checks adapts framework services to bounded, read-only readiness probes. |
|
Package http provides Foundry's HTTP transport and application kernel while retaining interoperability with standard net/http handlers.
|
Package http provides Foundry's HTTP transport and application kernel while retaining interoperability with standard net/http handlers. |
|
modelbinding
Package modelbinding resolves typed route keys into concrete models before domain handlers run.
|
Package modelbinding resolves typed route keys into concrete models before domain handlers run. |
|
pagination
Package pagination adapts typed database pages to HTTP request and response contracts.
|
Package pagination adapts typed database pages to HTTP request and response contracts. |
|
Package httpclient provides named, bounded outbound HTTP clients over reusable net/http transports.
|
Package httpclient provides named, bounded outbound HTTP clients over reusable net/http transports. |
|
Package i18n owns shared locale identities, immutable UI catalogs, request locale resolution and bounded plain-text formatting.
|
Package i18n owns shared locale identities, immutable UI catalogs, request locale resolution and bounded plain-text formatting. |
|
message
Package message connects generated argument structs to i18n through the same typed JSON descriptor used by runtime codecs and client contract exporters.
|
Package message connects generated argument structs to i18n through the same typed JSON descriptor used by runtime codecs and client contract exporters. |
|
numberformat
Package numberformat presents exact decimals, percentages and money for one locale.
|
Package numberformat presents exact decimals, percentages and money for one locale. |
|
Package idempotency records one committed local outcome per retained scoped key.
|
Package idempotency records one committed local outcome per retained scoped key. |
|
Package imaging inspects and transforms bounded, untrusted raster images.
|
Package imaging inspects and transforms bounded, untrusted raster images. |
|
Package infrastructure assembles configured, named services over Foundry's existing providers.
|
Package infrastructure assembles configured, named services over Foundry's existing providers. |
|
Package inspection collects feature-owned declarations and configuration provenance.
|
Package inspection collects feature-owned declarations and configuration provenance. |
|
internal
|
|
|
admission
Package admission bounds concurrent work with a short, cancellable wait.
|
Package admission bounds concurrent work with a short, cancellable wait. |
|
agent
Package agent implements read-only language-tooling requests against gopls.
|
Package agent implements read-only language-tooling requests against gopls. |
|
attachmentstore
Package attachmentstore owns ordinary declared attachment intent and file records.
|
Package attachmentstore owns ordinary declared attachment intent and file records. |
|
auditstore
Package auditstore owns the heterogeneous audit persistence boundary.
|
Package auditstore owns the heterogeneous audit persistence boundary. |
|
authticket
Package authticket owns single-use credential redemption for HTTP and WebSocket.
|
Package authticket owns single-use credential redemption for HTTP and WebSocket. |
|
authtransport
Package authtransport owns authentication wire DTOs.
|
Package authtransport owns authentication wire DTOs. |
|
awscredentials
Package awscredentials adapts the framework credential boundary to the one existing AWS SDK.
|
Package awscredentials adapts the framework credential boundary to the one existing AWS SDK. |
|
cacheatomic
Package cacheatomic shares expiry, counter and mutation semantics for durable cache adapters.
|
Package cacheatomic shares expiry, counter and mutation semantics for durable cache adapters. |
|
cacheint
Package cacheint owns the canonical signed-integer cache representation.
|
Package cacheint owns the canonical signed-integer cache representation. |
|
cachetest
Package cachetest owns behavior shared by Foundry's cache adapter acceptance.
|
Package cachetest owns behavior shared by Foundry's cache adapter acceptance. |
|
callback
Package callback isolates extension failures without formatting panic payloads.
|
Package callback isolates extension failures without formatting panic payloads. |
|
challengestore
Package challengestore owns recovery credentials; applications use typed auth/passwordreset and auth/emailverification flows instead of these rows.
|
Package challengestore owns recovery credentials; applications use typed auth/passwordreset and auth/emailverification flows instead of these rows. |
|
clidiag
Package clidiag captures framework command diagnostics without granting application-provided cli.Usage text diagnostic ownership.
|
Package clidiag captures framework command diagnostics without granting application-provided cli.Usage text diagnostic ownership. |
|
cmd/checkdocs
command
Command checkdocs checks local documentation links and repository consistency.
|
Command checkdocs checks local documentation links and repository consistency. |
|
cmd/testinputs
command
Command testinputs prints one shell/make-safe environment assignment after hashing complete child-test inputs.
|
Command testinputs prints one shell/make-safe environment assignment after hashing complete child-test inputs. |
|
cmd/testpostgres
command
Command testpostgres runs required PostgreSQL acceptance without treating an environment file as executable shell code or exposing its connection string.
|
Command testpostgres runs required PostgreSQL acceptance without treating an environment file as executable shell code or exposing its connection string. |
|
contextlink
Package contextlink links cancellation across owners while retaining values from the operation context.
|
Package contextlink links cancellation across owners while retaining values from the operation context. |
|
contractmeta
Package contractmeta describes a closed set of framework-owned wire structs.
|
Package contractmeta describes a closed set of framework-owned wire structs. |
|
contractname
Package contractname provides stable ASCII names for generated schema symbols.
|
Package contractname provides stable ASCII names for generated schema symbols. |
|
credential
Package credential owns private primitives shared by stored authentication credentials.
|
Package credential owns private primitives shared by stored authentication credentials. |
|
dependency
Package dependency owns deterministic dependency traversal for explicit framework registries.
|
Package dependency owns deterministic dependency traversal for explicit framework registries. |
|
doctor
Package doctor performs bounded, offline prerequisite inspection.
|
Package doctor performs bounded, offline prerequisite inspection. |
|
emaildiag
Package emaildiag marks framework-owned email classifications at their source.
|
Package emaildiag marks framework-owned email classifications at their source. |
|
errordiag
Package errordiag builds redacted failure diagnostics for logs and reporters.
|
Package errordiag builds redacted failure diagnostics for logs and reporters. |
|
errorgraph
Package errorgraph bounds framework-owned inspection of wrapped/joined errors.
|
Package errorgraph bounds framework-owned inspection of wrapped/joined errors. |
|
errorgraphtest
Package errorgraphtest supplies adversarial errors for framework regressions.
|
Package errorgraphtest supplies adversarial errors for framework regressions. |
|
eventseam
Package eventseam gates the event bus interception seam to framework test helpers (testkit/events).
|
Package eventseam gates the event bus interception seam to framework test helpers (testkit/events). |
|
extensioncommand
Package extensioncommand shares the model-extension maintenance command grammar and bounded page output.
|
Package extensioncommand shares the model-extension maintenance command grammar and bounded page output. |
|
extensionmaintenance
Package extensionmaintenance shares bounded, owner-aware orphan inspection and explicit pruning.
|
Package extensionmaintenance shares bounded, owner-aware orphan inspection and explicit pruning. |
|
extensionrow
Package extensionrow validates persisted model-extension identities through the same typed owner descriptors that created them.
|
Package extensionrow validates persisted model-extension identities through the same typed owner descriptors that created them. |
|
extensionslot
Package extensionslot owns external-store loading shared by ORM and legacy adapters.
|
Package extensionslot owns external-store loading shared by ORM and legacy adapters. |
|
extensionstore
Package extensionstore owns ordinary declared infrastructure models for typed metadata, translations and settings.
|
Package extensionstore owns ordinary declared infrastructure models for typed metadata, translations and settings. |
|
extensiontest
Package extensiontest supplies isolated PostgreSQL model-store acceptance fixtures.
|
Package extensiontest supplies isolated PostgreSQL model-store acceptance fixtures. |
|
extensionvalue
Package extensionvalue shares the bounded canonical value boundary used by metadata and settings.
|
Package extensionvalue shares the bounded canonical value boundary used by metadata and settings. |
|
faultwrap
Package faultwrap adds a feature's safe message to a failure without hiding the framework classification its cause already carries.
|
Package faultwrap adds a feature's safe message to a failure without hiding the framework classification its cause already carries. |
|
filename
Package filename owns display-name normalization shared by HTTP file transport.
|
Package filename owns display-name normalization shared by HTTP file transport. |
|
frameworkadapter
Package frameworkadapter identifies adapters implemented by Foundry itself.
|
Package frameworkadapter identifies adapters implemented by Foundry itself. |
|
frameworkinfo
Package frameworkinfo owns the framework module identity used by development tooling.
|
Package frameworkinfo owns the framework module identity used by development tooling. |
|
generate
Package generate owns declaration analysis and deterministic Go generation.
|
Package generate owns declaration analysis and deterministic Go generation. |
|
gotype
Package gotype owns canonical generated Go type identities.
|
Package gotype owns canonical generated Go type identities. |
|
httppath
Package httppath shares HTTP pattern grammar between runtime and generation.
|
Package httppath shares HTTP pattern grammar between runtime and generation. |
|
httpquery
Package httpquery owns bounded query-string parsing and URL generation.
|
Package httpquery owns bounded query-string parsing and URL generation. |
|
httptoken
Package httptoken shares the RFC HTTP token grammar across transport boundaries.
|
Package httptoken shares the RFC HTTP token grammar across transport boundaries. |
|
httptransport
Package httptransport owns native pooled transport construction shared by outbound clients and provider adapters.
|
Package httptransport owns native pooled transport construction shared by outbound clients and provider adapters. |
|
idempotencystore
Package idempotencystore owns typed operation persistence.
|
Package idempotencystore owns typed operation persistence. |
|
identifier
Package identifier validates persisted semantic identifiers at declaration boundaries.
|
Package identifier validates persisted semantic identifiers at declaration boundaries. |
|
jobarchive
Package jobarchive owns the durable failed-job archive persistence boundary.
|
Package jobarchive owns the durable failed-job archive persistence boundary. |
|
jobtest
Package jobtest supplies one adapter contract for memory and Redis authorities.
|
Package jobtest supplies one adapter contract for memory and Redis authorities. |
|
jsoncodec
Package jsoncodec contains application JSON methods before native JSON error inspection.
|
Package jsoncodec contains application JSON methods before native JSON error inspection. |
|
jsonpointer
Package jsonpointer owns JSON Pointer segment escaping for framework errors.
|
Package jsonpointer owns JSON Pointer segment escaping for framework errors. |
|
jsonshape
Package jsonshape owns JSON field/tag promotion for runtime validation and source generation.
|
Package jsonshape owns JSON field/tag promotion for runtime validation and source generation. |
|
jsonwire
Package jsonwire owns bounded, lossless JSON parsing for typed values and transport.
|
Package jsonwire owns bounded, lossless JSON parsing for typed values and transport. |
|
keyaddress
Package keyaddress owns bounded physical address encoding for feature adapters.
|
Package keyaddress owns bounded physical address encoding for feature adapters. |
|
leasetest
Package leasetest holds the shared memory/Redis adapter acceptance contract.
|
Package leasetest holds the shared memory/Redis adapter acceptance contract. |
|
lifecore
Package lifecore shares callback nesting across generated and declared models.
|
Package lifecore shares callback nesting across generated and declared models. |
|
lockouttest
Package lockouttest owns behavioral acceptance shared by lockout authorities.
|
Package lockouttest owns behavioral acceptance shared by lockout authorities. |
|
mediatype
Package mediatype sniffs media types from bounded in-memory content.
|
Package mediatype sniffs media types from bounded in-memory content. |
|
mfastore
Package mfastore owns typed persistence models for MFA.
|
Package mfastore owns typed persistence models for MFA. |
|
modelmeta
Package modelmeta shares field naming and tag parsing between declarations and generation.
|
Package modelmeta shares field naming and tag parsing between declarations and generation. |
|
namedservice
Package namedservice owns immutable named/default selection for service families.
|
Package namedservice owns immutable named/default selection for service families. |
|
noraw
Package noraw checks resolved Go calls for Foundry's explicit raw SQL APIs.
|
Package noraw checks resolved Go calls for Foundry's explicit raw SQL APIs. |
|
notificationstore
Package notificationstore owns private notification persistence models.
|
Package notificationstore owns private notification persistence models. |
|
ormcore
Package ormcore shares sealed metadata between orm, expr and rows.
|
Package ormcore shares sealed metadata between orm, expr and rows. |
|
outboxstore
Package outboxstore owns the heterogeneous persistence boundary shared by framework message producers.
|
Package outboxstore owns the heterogeneous persistence boundary shared by framework message producers. |
|
outboxtest
Package outboxtest owns isolated, retained schemas for publication acceptance.
|
Package outboxtest owns isolated, retained schemas for publication acceptance. |
|
ownedstream
Package ownedstream retains a borrowed stream until reads and close actually return.
|
Package ownedstream retains a borrowed stream until reads and close actually return. |
|
pubsubstream
Package pubsubstream owns bounded, loss-reporting adapter delivery queues.
|
Package pubsubstream owns bounded, loss-reporting adapter delivery queues. |
|
pubsubtest
Package pubsubtest owns shared live fan-out acceptance for memory and Redis.
|
Package pubsubtest owns shared live fan-out acceptance for memory and Redis. |
|
querycore
Package querycore owns the model-independent SQL planning and compiler implementation.
|
Package querycore owns the model-independent SQL planning and compiler implementation. |
|
ratelimittest
Package ratelimittest owns behavioral acceptance shared by local and Redis authorities.
|
Package ratelimittest owns behavioral acceptance shared by local and Redis authorities. |
|
ratewindow
Package ratewindow owns the shared exact timestamp domain and per-key window phase for rate authorities.
|
Package ratewindow owns the shared exact timestamp domain and per-key window phase for rate authorities. |
|
retirement
Package retirement enforces the removed data-layer surface across source modules.
|
Package retirement enforces the removed data-layer surface across source modules. |
|
safeerror
Package safeerror redacts extension failures without adding classifications.
|
Package safeerror redacts extension failures without adding classifications. |
|
scheduletest
Package scheduletest exercises scheduler ownership against shared lease backends.
|
Package scheduletest exercises scheduler ownership against shared lease backends. |
|
sessionstore
Package sessionstore owns PostgreSQL session rows.
|
Package sessionstore owns PostgreSQL session rows. |
|
sqlcallback
Package sqlcallback contains application callbacks before SQL inspects errors.
|
Package sqlcallback contains application callbacks before SQL inspects errors. |
|
sqlname
Package sqlname owns the common identifier grammar used at SQL declaration boundaries.
|
Package sqlname owns the common identifier grammar used at SQL declaration boundaries. |
|
sqlowner
Package sqlowner owns validated, family-specific framework database capabilities.
|
Package sqlowner owns validated, family-specific framework database capabilities. |
|
sqlscope
Package sqlscope scopes infrastructure writes inside business transactions.
|
Package sqlscope scopes infrastructure writes inside business transactions. |
|
sqlvalue
Package sqlvalue owns lossless SQL driver-value snapshots shared by cursors, model identities and other explicit persistence/transport boundaries.
|
Package sqlvalue owns lossless SQL driver-value snapshots shared by cursors, model identities and other explicit persistence/transport boundaries. |
|
statementmeta
Package statementmeta carries compiler-owned diagnostics across execution.
|
Package statementmeta carries compiler-owned diagnostics across execution. |
|
statementshape
Package statementshape normalizes bounded untrusted SQL for keyed grouping only.
|
Package statementshape normalizes bounded untrusted SQL for keyed grouping only. |
|
storageio
Package storageio owns bounded transfer and hostile-reader handling for storage adapters.
|
Package storageio owns bounded transfer and hostile-reader handling for storage adapters. |
|
testinputs
Package testinputs fingerprints external child-test inputs which Go's ordinary test cache cannot track across module roots.
|
Package testinputs fingerprints external child-test inputs which Go's ordinary test cache cannot track across module roots. |
|
textvalue
Package textvalue shares strict JSON string decoding for scalar value types.
|
Package textvalue shares strict JSON string decoding for scalar value types. |
|
tokenstore
Package tokenstore owns PostgreSQL token families and retained generations.
|
Package tokenstore owns PostgreSQL token families and retained generations. |
|
upload
Package upload owns request-scoped temporary files behind typed HTTP handles.
|
Package upload owns request-scoped temporary files behind typed HTTP handles. |
|
webhookstore
Package webhookstore owns ordinary declared outbound webhook endpoint, signing-secret and delivery records.
|
Package webhookstore owns ordinary declared outbound webhook endpoint, signing-secret and delivery records. |
|
websockettest
Package websockettest exercises the public distributed runtime against an externally supplied real authority.
|
Package websockettest exercises the public distributed runtime against an externally supplied real authority. |
|
workscope
Package workscope owns bounded operation lifetimes for borrowed-resource services.
|
Package workscope owns bounded operation lifetimes for borrowed-resource services. |
|
Package jobs provides typed background-job declarations and explicit, at-least-once delivery.
|
Package jobs provides typed background-job declarations and explicit, at-least-once delivery. |
|
archive
Package archive is the optional durable failed-job archive.
|
Package archive is the optional durable failed-job archive. |
|
archive/command
Package command supplies the application-owned failed-job archive commands.
|
Package command supplies the application-owned failed-job archive commands. |
|
command
Package command supplies application-owned job operations.
|
Package command supplies application-owned job operations. |
|
inline
Package inline is the sync job driver for tests and local development.
|
Package inline is the sync job driver for tests and local development. |
|
memory
Package memory implements a bounded, deterministic single-process job authority.
|
Package memory implements a bounded, deterministic single-process job authority. |
|
Package keyspace owns namespace syntax and typed key codecs shared by infrastructure features.
|
Package keyspace owns namespace syntax and typed key codecs shared by infrastructure features. |
|
Package lease supplies typed, time-limited ownership with explicit loss and cleanup.
|
Package lease supplies typed, time-limited ownership with explicit loss and cleanup. |
|
memory
Package memory implements explicit single-process leases.
|
Package memory implements explicit single-process leases. |
|
Package logging constructs application-owned structured loggers with safe defaults.
|
Package logging constructs application-owned structured loggers with safe defaults. |
|
Package maintenance controls admission while existing work retains its normal resource ownership and cancellation rules.
|
Package maintenance controls admission while existing work retains its normal resource ownership and cancellation rules. |
|
cachestore
Package cachestore shares maintenance state through an existing configured cache store.
|
Package cachestore shares maintenance state through an existing configured cache store. |
|
Package metadata stores typed, model-owned values through explicit key declarations.
|
Package metadata stores typed, model-owned values through explicit key declarations. |
|
command
Package command provides metadata maintenance commands, borrowing already assembled services.
|
Package command provides metadata maintenance commands, borrowing already assembled services. |
|
Package model defines model-owned foundational values without depending on a database driver or runtime.
|
Package model defines model-owned foundational values without depending on a database driver or runtime. |
|
Package notifications composes typed recipients, payloads and delivery channels around persistent per-channel status.
|
Package notifications composes typed recipients, payloads and delivery channels around persistent per-channel status. |
|
command
Package command supplies application-owned notification delivery operations.
|
Package command supplies application-owned notification delivery operations. |
|
Package observability owns bounded operation observations and pluggable error reporting shared by framework kernels.
|
Package observability owns bounded operation observations and pluggable error reporting shared by framework kernels. |
|
Package openapi renders OpenAPI from the shared validated client manifest.
|
Package openapi renders OpenAPI from the shared validated client manifest. |
|
Package outbox owns shared durable-message identities and explicit schema migrations.
|
Package outbox owns shared durable-message identities and explicit schema migrations. |
|
command
Package command supplies application-owned outbox operations.
|
Package command supplies application-owned outbox operations. |
|
publisher
Package publisher transfers shared outbox messages to durable authorities.
|
Package publisher transfers shared outbox messages to durable authorities. |
|
Package plugin assembles explicitly linked Go extensions using the ordinary foundation registrar, typed feature APIs and managed application lifecycle.
|
Package plugin assembles explicitly linked Go extensions using the ordinary foundation registrar, typed feature APIs and managed application lifecycle. |
|
assets
Package assets distributes immutable plugin files through Foundry's shared guarded publisher.
|
Package assets distributes immutable plugin files through Foundry's shared guarded publisher. |
|
manifest
Package manifest contains plugin declarations without importing application assembly or concrete features.
|
Package manifest contains plugin declarations without importing application assembly or concrete features. |
|
scaffold
Package scaffold distributes typed plugin scaffold renderers.
|
Package scaffold distributes typed plugin scaffold renderers. |
|
Package pubsub provides typed, ephemeral publication with explicit loss and ownership.
|
Package pubsub provides typed, ephemeral publication with explicit loss and ownership. |
|
memory
Package memory provides explicit local ephemeral fan-out for pub/sub contracts.
|
Package memory provides explicit local ephemeral fan-out for pub/sub contracts. |
|
Package randomtoken supplies bounded cryptographically random opaque values.
|
Package randomtoken supplies bounded cryptographically random opaque values. |
|
Package ratelimit supplies typed, atomic fixed-window admission decisions.
|
Package ratelimit supplies typed, atomic fixed-window admission decisions. |
|
memory
Package memory implements explicit single-process fixed-window rate limiting.
|
Package memory implements explicit single-process fixed-window rate limiting. |
|
Package redis owns an explicitly configured Redis connection pool.
|
Package redis owns an explicitly configured Redis connection pool. |
|
data
Package data provides typed Redis hashes, sets, sorted sets and lists.
|
Package data provides typed Redis hashes, sets, sorted sets and lists. |
|
raw
Package raw is the explicit trusted Redis command boundary.
|
Package raw is the explicit trusted Redis command boundary. |
|
Package sanitize supplies immutable HTML fragment allowlists backed by bluemonday.
|
Package sanitize supplies immutable HTML fragment allowlists backed by bluemonday. |
|
Package schedule provides bounded, coordinated scheduled execution.
|
Package schedule provides bounded, coordinated scheduled execution. |
|
command
Package command supplies the application-owned `schedule test` operation.
|
Package command supplies the application-owned `schedule test` operation. |
|
Package secret makes accidental formatting/serialization of credentials safe.
|
Package secret makes accidental formatting/serialization of credentials safe. |
|
Package settings persists values through registered, typed key declarations.
|
Package settings persists values through registered, typed key declarations. |
|
Package storage supplies typed object storage with explicit resource bounds, provider capabilities and mutation outcomes.
|
Package storage supplies typed object storage with explicit resource bounds, provider capabilities and mutation outcomes. |
|
http
Package http connects typed HTTP file inputs and responses to storage disks.
|
Package http connects typed HTTP file inputs and responses to storage disks. |
|
local
Package local implements a managed, crash-aware object store under an os.Root.
|
Package local implements a managed, crash-aware object store under an os.Root. |
|
s3
Package s3 implements AWS S3, an explicit Cloudflare R2 profile and a generic S3-compatible profile using the official AWS SDK.
|
Package s3 implements AWS S3, an explicit Cloudflare R2 profile and a generic S3-compatible profile using the official AWS SDK. |
|
Package str provides rune-safe string helpers: slugs, limits, masks, English inflection and human-readable file sizes.
|
Package str provides rune-safe string helpers: slugs, limits, masks, English inflection and human-readable file sizes. |
|
Package temporal separates UTC instants, calendar dates, wall times, and local date-times.
|
Package temporal separates UTC instants, calendar dates, wall times, and local date-times. |
|
Package testkit exercises the production Foundry lifecycle with test-owned cleanup.
|
Package testkit exercises the production Foundry lifecycle with test-owned cleanup. |
|
application
Package application runs configured application kernels with test-owned cleanup.
|
Package application runs configured application kernels with test-owned cleanup. |
|
auth
Package auth provides test-owned production authentication scopes.
|
Package auth provides test-owned production authentication scopes. |
|
dbassert
Package dbassert asserts persisted state through typed query callbacks.
|
Package dbassert asserts persisted state through typed query callbacks. |
|
email
Package email provides assertions for the opt-in memory email driver.
|
Package email provides assertions for the opt-in memory email driver. |
|
events
Package events records explicitly selected production event listeners.
|
Package events records explicitly selected production event listeners. |
|
factory
Package factory builds typed ORM drafts and persists them through the ordinary model lifecycle.
|
Package factory builds typed ORM drafts and persists them through the ordinary model lifecycle. |
|
http
Package http provides test-owned HTTP servers and bounded clients.
|
Package http provides test-owned HTTP servers and bounded clients. |
|
httpclient
Package httpclient supplies deterministic outbound HTTP transports for tests.
|
Package httpclient supplies deterministic outbound HTTP transports for tests. |
|
jobs
Package jobs supplies an explicitly local production queue authority for tests.
|
Package jobs supplies an explicitly local production queue authority for tests. |
|
notifications
Package notifications supplies a recording custom-channel transport for tests.
|
Package notifications supplies a recording custom-channel transport for tests. |
|
postgres
Package postgres provides opt-in, non-destructive PostgreSQL acceptance helpers.
|
Package postgres provides opt-in, non-destructive PostgreSQL acceptance helpers. |
|
postgres/application
Package application binds retained PostgreSQL scopes to production application settings.
|
Package application binds retained PostgreSQL scopes to production application settings. |
|
redis
Package redis provides opt-in, non-destructive Redis acceptance helpers.
|
Package redis provides opt-in, non-destructive Redis acceptance helpers. |
|
storage
Package storage provides a shared behavioral contract for storage adapters.
|
Package storage provides a shared behavioral contract for storage adapters. |
|
websocket
Package websocket provides a bounded protocol client for independent consumer tests.
|
Package websocket provides a bounded protocol client for independent consumer tests. |
|
tests
|
|
|
oracle
Package oracle owns the frozen legacy evidence format and its integrity checks.
|
Package oracle owns the frozen legacy evidence format and its integrity checks. |
|
oracle/cmd/freeze-oracles
command
Command freeze-oracles publishes a reviewed framework legacy capture bundle.
|
Command freeze-oracles publishes a reviewed framework legacy capture bundle. |
|
Package tracing preserves bounded W3C trace context without global providers, recording backends, request payloads or authentication capabilities.
|
Package tracing preserves bounded W3C trace context without global providers, recording backends, request payloads or authentication capabilities. |
|
Package translations persists localized model content.
|
Package translations persists localized model content. |
|
command
Package command provides read-only inspection of orphaned model translations and re-scoping of stale rows, which writes only with an explicit --apply.
|
Package command provides read-only inspection of orphaned model translations and re-scoping of stale rows, which writes only with an explicit --apply. |
|
Package typescript renders and publishes pure TypeScript clients from the shared manifest.
|
Package typescript renders and publishes pure TypeScript clients from the shared manifest. |
|
Package validation provides typed rules and owned validation diagnostics.
|
Package validation provides typed rules and owned validation diagnostics. |
|
database
Package database supplies advisory typed model validation.
|
Package database supplies advisory typed model validation. |
|
imaging
Package imaging validates uploaded image files with the framework's bounded container inspection.
|
Package imaging validates uploaded image files with the framework's bounded container inspection. |
|
Package value distinguishes absent fields, explicit nulls, and present values.
|
Package value distinguishes absent fields, explicit nulls, and present values. |
|
Package webhook verifies bounded original webhook bytes before typed decoding.
|
Package webhook verifies bounded original webhook bytes before typed decoding. |
|
outbound
Package outbound delivers signed webhooks to registered endpoints.
|
Package outbound delivers signed webhooks to registered endpoints. |
|
outbound/command
Package command supplies outbound webhook delivery inspection and replay.
|
Package command supplies outbound webhook delivery inspection and replay. |
|
Package websocket provides typed channels, room publication and the versioned Foundry WebSocket protocol.
|
Package websocket provides typed channels, room publication and the versioned Foundry WebSocket protocol. |