x/

directory
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT

Directories

Path Synopsis
Package admin serves the admin API under /admin: sign-in with local accounts, cookie sessions with CSRF tokens, and the GraphQL endpoint.
Package admin serves the admin API under /admin: sign-in with local accounts, cookie sessions with CSRF tokens, and the GraphQL endpoint.
accounts
Package accounts holds the business rules for administrator accounts.
Package accounts holds the business rules for administrator accounts.
auth
Package auth holds what the admin HTTP layer and the GraphQL resolvers share: argon2id password hashing, admin permissions and the signed-in principal on a request context.
Package auth holds what the admin HTTP layer and the GraphQL resolvers share: argon2id password hashing, admin permissions and the signed-in principal on a request context.
graph
Package graph implements the admin GraphQL API.
Package graph implements the admin GraphQL API.
scanjobs
Package scanjobs runs long administrative work, such as schema scans, on a bounded pool of workers off the request path: a request starts a job and polls it, so a slow database ties up neither the request nor the service.
Package scanjobs runs long administrative work, such as schema scans, on a bounded pool of workers off the request path: a request starts a job and polls it, so a slow database ties up neither the request nor the service.
ui
Package ui embeds the built admin console (web/admin).
Package ui embeds the built admin console (web/admin).
Package bootstrap loads configuration and assembles the application: it resolves secret placeholders, opens the database provider, converts config entities to the core entity model, and wires the registry, authorizer, cost gate, engine, and tools.
Package bootstrap loads configuration and assembles the application: it resolves secret placeholders, opens the database provider, converts config entities to the core entity model, and wires the registry, authorizer, cost gate, engine, and tools.
Package configedit applies edits to a stored configuration: it replaces whole sections of a base payload with typed values and runs the result through the same chain as `store import` (strict decoding, defaults, validation, the store secret rule and the deterministic encoding).
Package configedit applies edits to a stored configuration: it replaces whole sections of a base payload with typed values and runs the result through the same chain as `store import` (strict decoding, defaults, validation, the store secret rule and the deterministic encoding).
Package configstore persists configuration revisions in SQLite or in a PostgreSQL, MySQL or OceanBase database.
Package configstore persists configuration revisions in SQLite or in a PostgreSQL, MySQL or OceanBase database.
Package configyaml decodes YAML runtime configuration.
Package configyaml decodes YAML runtime configuration.
Package mcpserver bridges core DML tools to the MCP go-sdk.
Package mcpserver bridges core DML tools to the MCP go-sdk.
Package otel adapts the core hook.Hooks callbacks to OpenTelemetry spans and attributes.
Package otel adapts the core hook.Hooks callbacks to OpenTelemetry spans and attributes.
Package providerregistry maps database driver names to provider factories.
Package providerregistry maps database driver names to provider factories.
providers
all
Package all registers every database provider built into the server binary.
Package all registers every database provider built into the server binary.
mysql
Package mysql adapts a MySQL database to the core interfaces.
Package mysql adapts a MySQL database to the core interfaces.
oceanbase
Package oceanbase adapts an OceanBase database (MySQL protocol) to the core interfaces.
Package oceanbase adapts an OceanBase database (MySQL protocol) to the core interfaces.
postgres
Package postgres adapts a PostgreSQL database to the core interfaces: store.DB/Tx, dialect.Dialect, cost.Explainer, and introspect.Introspector.
Package postgres adapts a PostgreSQL database to the core interfaces: store.DB/Tx, dialect.Dialect, cost.Explainer, and introspect.Introspector.
sqladapter
Package sqladapter adapts a database/sql pool to the core store interfaces.
Package sqladapter adapts a database/sql pool to the core store interfaces.
Package revisionops holds the configuration store operations shared by the `store`/`migrate` CLI and the admin API: normalizing payloads, creating drafts, publishing, rolling back and diffing.
Package revisionops holds the configuration store operations shared by the `store`/`migrate` CLI and the admin API: normalizing payloads, creating drafts, publishing, rolling back and diffing.
Package telemetry provides the minimal metrics set for tool calls: a call counter labeled by tool and outcome, a per-tool duration histogram, and an audit-drop counter, served in Prometheus text exposition format.
Package telemetry provides the minimal metrics set for tool calls: a call counter labeled by tool and outcome, a per-tool duration histogram, and an audit-drop counter, served in Prometheus text exposition format.

Jump to

Keyboard shortcuts

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