Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
compose
command
Command compose is the command line tool of the compose module.
|
Command compose is the command line tool of the compose module. |
|
components
|
|
|
auth/oidc
Package oidc verifies OpenID Connect ID tokens from Google, Apple and Microsoft.
|
Package oidc verifies OpenID Connect ID tokens from Google, Apple and Microsoft. |
|
auth/session
Package session issues and resolves rotating session tokens for first-party apps.
|
Package session issues and resolves rotating session tokens for first-party apps. |
|
auth/token
Package token generates and checks opaque bearer tokens.
|
Package token generates and checks opaque bearer tokens. |
|
mcp
Package mcp exposes a REST API described by an OpenAPI 3.x document as a Model Context Protocol server with a fixed set of tools:
|
Package mcp exposes a REST API described by an OpenAPI 3.x document as a Model Context Protocol server with a fixed set of tools: |
|
mcp/oauth
Package oauth lets hosted MCP clients such as claude.ai and ChatGPT connect to a compose MCP server.
|
Package oauth lets hosted MCP clients such as claude.ai and ChatGPT connect to a compose MCP server. |
|
rest/generator
Package generator derives an OpenAPI 3.0 document from the source of an Echo application built on compose's rest handlers.
|
Package generator derives an OpenAPI 3.0 document from the source of an Echo application built on compose's rest handlers. |
|
rest/reference
Package reference renders an OpenAPI 3.x document as a self-hosted API reference page: an alternative to Scalar and Redoc that ships inside the backend, with no CDN assets.
|
Package reference renders an OpenAPI 3.x document as a self-hosted API reference page: an alternative to Scalar and Redoc that ships inside the backend, with no CDN assets. |
|
drivers
|
|
|
databases/relational/internal/jsonfmt
Package jsonfmt holds the JSON formatter the compose dialects use in place of bun v1.3.0's, which mis-escapes the text \u0000 (https://github.com/uptrace/bun/issues/1472).
|
Package jsonfmt holds the JSON formatter the compose dialects use in place of bun v1.3.0's, which mis-escapes the text \u0000 (https://github.com/uptrace/bun/issues/1472). |
|
databases/relational/postgres/pgtest
Package pgtest is test support for apps that test against a real PostgreSQL: it creates a uniquely named database per test run, empties it between tests, drops it at the end, and sweeps the databases left behind by runs that died.
|
Package pgtest is test support for apps that test against a real PostgreSQL: it creates a uniquely named database per test run, empties it between tests, drops it at the end, and sweeps the databases left behind by runs that died. |
|
integrations
|
|
|
primitives
|
|
|
enums
Package enums validates string-backed enums and adapts them to JSON and database/sql.
|
Package enums validates string-backed enums and adapts them to JSON and database/sql. |
|
utils
|
|
Click to show internal directories.
Click to hide internal directories.