Directories
¶
| Path | Synopsis |
|---|---|
|
Package buildinfo carries version metadata injected at build time via -ldflags.
|
Package buildinfo carries version metadata injected at build time via -ldflags. |
|
Package clip shortens text to fit a column or a log line without cutting a UTF-8 character in half.
|
Package clip shortens text to fit a column or a log line without cutting a UTF-8 character in half. |
|
Package datalock marks a data directory as in use (ADR 0039).
|
Package datalock marks a data directory as in use (ADR 0039). |
|
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. |
|
Package dbtest opens migrated databases for tests: SQLite always, plus MySQL and PostgreSQL when SKINLOOM_TEST_MYSQL / SKINLOOM_TEST_POSTGRES name a test database (CI's integration job sets them).
|
Package dbtest opens migrated databases for tests: SQLite always, plus MySQL and PostgreSQL when SKINLOOM_TEST_MYSQL / SKINLOOM_TEST_POSTGRES name a test database (CI's integration job sets them). |
|
Package fsperm keeps files that hold secrets private where Unix mode bits do not: on Windows a new file takes its folder's permissions, which in a data directory under C:\ or a shared folder let every local user read it (ADR 0039).
|
Package fsperm keeps files that hold secrets private where Unix mode bits do not: on Windows a new file takes its folder's permissions, which in a data directory under C:\ or a shared folder let every local user read it (ADR 0039). |
|
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. |
|
Package jobs runs background work stored in the jobs table.
|
Package jobs runs background work stored in the jobs table. |
|
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. |
|
Package migrate applies the embedded versioned migrations with goose.
|
Package migrate applies the embedded versioned migrations with goose. |
|
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. |
|
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. |
|
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. |
|
Package secrets creates and reads the per-install secrets under <data>/secrets.
|
Package secrets creates and reads the per-install secrets under <data>/secrets. |
|
Package storage keeps texture files.
|
Package storage keeps texture files. |
|
Package validate holds the error types services use to reject input, so the HTTP layer can map them the same way for every module: a FieldError per bad field (422) and RateLimitError (429).
|
Package validate holds the error types services use to reject input, so the HTTP layer can map them the same way for every module: a FieldError per bad field (422) and RateLimitError (429). |
Click to show internal directories.
Click to hide internal directories.