internal/

directory
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2026 License: MIT

Directories

Path Synopsis
Package auth holds backd's identity model: users, their sign-in identities and password handling.
Package auth holds backd's identity model: users, their sign-in identities and password handling.
authtest
Package authtest provides an in-memory auth.Store for tests.
Package authtest provides an in-memory auth.Store for tests.
Package cron parses five-field cron expressions and computes their schedule, always in UTC.
Package cron parses five-field cron expressions and computes their schedule, always in UTC.
Package egress runs backd's egress role: the only way a function process reaches the network.
Package egress runs backd's egress role: the only way a function process reaches the network.
Package executor runs server-side functions: `backd executor` is a supervisor that runs each invocation in its own Deno process, with only the function's permissions and limits, and returns its output.
Package executor runs server-side functions: `backd executor` is a supervisor that runs each invocation in its own Deno process, with only the function's permissions and limits, and returns its output.
Package functions builds server-side functions: `backd functions build` bundles each function of a database's Deno project into one file with `deno bundle`, and records the bundles in a manifest that startup checks.
Package functions builds server-side functions: `backd functions build` bundles each function of a database's Deno project into one file with `deno bundle`, and records the bundles in a manifest that startup checks.
Package httpapi is backd's HTTP layer: routing, middleware, error envelope, the generic document handlers and the /_auth endpoints.
Package httpapi is backd's HTTP layer: routing, middleware, error envelope, the generic document handlers and the /_auth endpoints.
Package jsonnum converts json.Number values into concrete Go numbers.
Package jsonnum converts json.Number values into concrete Go numbers.
Package mongodb holds everything MongoDB-specific: the $jsonSchema validator translation, the repository implementation and the provisioner.
Package mongodb holds everything MongoDB-specific: the $jsonSchema validator translation, the repository implementation and the provisioner.
Package query parses and checks the list query language (where, order_by) against a collection's schema, producing backend-neutral storage conditions.
Package query parses and checks the list query language (where, order_by) against a collection's schema, producing backend-neutral storage conditions.
Package registry loads the realm/database/collection tree from CONFIG_DIR into an immutable, validated registry used by routing, validation and provisioning.
Package registry loads the realm/database/collection tree from CONFIG_DIR into an immutable, validated registry used by routing, validation and provisioning.
Package rules loads and checks a collection's rules.yaml: expr-lang expressions deciding, per operation, whether a caller may act on a whole document.
Package rules loads and checks a collection's rules.yaml: expr-lang expressions deciding, per operation, whether a caller may act on a whole document.
Package settings reads backd's runtime configuration from environment variables.
Package settings reads backd's runtime configuration from environment variables.
Package storage defines the backend-neutral data access contract.
Package storage defines the backend-neutral data access contract.
Package templates writes commented starter files for realms and databases into CONFIG_DIR (`backd template`).
Package templates writes commented starter files for realms and databases into CONFIG_DIR (`backd template`).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL