Directories
¶
| Path | Synopsis |
|---|---|
|
Package api holds the generated OpenAPI document of the REST API.
|
Package api holds the generated OpenAPI document of the REST API. |
|
cmd
|
|
|
skinloom
command
Command skinloom runs the SkinLoom (云织) skin site.
|
Command skinloom runs the SkinLoom (云织) skin site. |
|
Package ent holds the generated data access layer.
|
Package ent holds the generated data access layer. |
|
internal
|
|
|
account
Package account owns users, browser sessions, one-time tokens, the first-run setup and the audit log.
|
Package account owns users, browser sessions, one-time tokens, the first-run setup and the audit log. |
|
app
Package app wires the services together.
|
Package app wires the services together. |
|
buildinfo
Package buildinfo carries version metadata injected at build time via -ldflags.
|
Package buildinfo carries version metadata injected at build time via -ldflags. |
|
cli
Package cli implements the skinloom command line.
|
Package cli implements the skinloom command line. |
|
config
Package config loads the static (file + environment) configuration.
|
Package config loads the static (file + environment) configuration. |
|
gateway
Package gateway is the single public entry point.
|
Package gateway is the single public entry point. |
|
hook
Package hook is the extension bus every module — and later every plugin — uses.
|
Package hook is the extension bus every module — and later every plugin — uses. |
|
httpapi
Package httpapi builds the backend HTTP surface: /api/v1 (Huma, OpenAPI 3.1), the SSE change stream, health probes and theme assets.
|
Package httpapi builds the backend HTTP surface: /api/v1 (Huma, OpenAPI 3.1), the SSE change stream, health probes and theme assets. |
|
launcher
Package launcher runs and supervises the Next.js frontend as a child process, so one `skinloom up` starts the whole site on Windows, macOS and Linux.
|
Package launcher runs and supervises the Next.js frontend as a child process, so one `skinloom up` starts the whole site on Windows, macOS and Linux. |
|
logging
Package logging builds the process logger; level and format can change at runtime.
|
Package logging builds the process logger; level and format can change at runtime. |
|
platform/db
Package db opens the database connection shared by ent and raw SQL users.
|
Package db opens the database connection shared by ent and raw SQL users. |
|
platform/httpx
Package httpx holds small HTTP helpers shared by the API and the gateway.
|
Package httpx holds small HTTP helpers shared by the API and the gateway. |
|
platform/migrate
Package migrate applies the embedded versioned migrations with goose.
|
Package migrate applies the embedded versioned migrations with goose. |
|
platform/realip
Package realip derives the real client address, scheme and host of a request.
|
Package realip derives the real client address, scheme and host of a request. |
|
pubsub
Package pubsub is the in-process fan-out used for change notifications (settings, themes, plugins) and the browser SSE stream.
|
Package pubsub is the in-process fan-out used for change notifications (settings, themes, plugins) and the browser SSE stream. |
|
registry
Package registry provides copy-on-write tables that can be swapped atomically while requests are being served.
|
Package registry provides copy-on-write tables that can be swapped atomically while requests are being served. |
|
secrets
Package secrets creates and reads the per-install secrets under <data>/secrets.
|
Package secrets creates and reads the per-install secrets under <data>/secrets. |
|
settings
Package settings holds runtime settings that admins edit: typed definitions, a database store, and an atomically swapped snapshot that changes are hot-applied from.
|
Package settings holds runtime settings that admins edit: typed definitions, a database store, and an atomically swapped snapshot that changes are hot-applied from. |
|
theme
Package theme loads theme packages and resolves the active theme for a request.
|
Package theme loads theme packages and resolves the active theme for a request. |
|
tools/migdiff
command
Command migdiff writes a new versioned migration (goose format) for one dialect by diffing ent/schema against the replayed migration directory on a dev database.
|
Command migdiff writes a new versioned migration (goose format) for one dialect by diffing ent/schema against the replayed migration directory on a dev database. |
|
Package migrations embeds the versioned SQL migrations, one directory per dialect.
|
Package migrations embeds the versioned SQL migrations, one directory per dialect. |
|
Package themes embeds the built-in themes.
|
Package themes embeds the built-in themes. |
Click to show internal directories.
Click to hide internal directories.