Directories
¶
| Path | Synopsis |
|---|---|
|
Package adminx holds the primitives the admin UI is built from: passwords, one time codes, sessions and the audit log.
|
Package adminx holds the primitives the admin UI is built from: passwords, one time codes, sessions and the audit log. |
|
Package confx reads settings from environment variables.
|
Package confx reads settings from environment variables. |
|
Package enumx is the catalog of the enums of a project: every allowed value of a status, a provider or a type with its description, for clients and for validation.
|
Package enumx is the catalog of the enums of a project: every allowed value of a status, a provider or a type with its description, for clients and for validation. |
|
Package i18nx translates the API, ported from taply's i18n package: translations of entity fields stored in the database and substituted into responses by Accept-Language, and static translations of error messages.
|
Package i18nx translates the API, ported from taply's i18n package: translations of entity fields stored in the database and substituted into responses by Accept-Language, and static translations of error messages. |
|
internal
|
|
|
testapi/platformtest/v1
Package platformtestv1 is a reverse proxy.
|
Package platformtestv1 is a reverse proxy. |
|
Package logx builds an slog logger configured the same way in every project.
|
Package logx builds an slog logger configured the same way in every project. |
|
modules
|
|
|
admin
Package admin is a platform module: the admin panel of the project, running inside the same binary as the application.
|
Package admin is a platform module: the admin panel of the project, running inside the same binary as the application. |
|
api
Package api is a platform module: a gRPC server and a REST gateway in front of it, with the interceptors every service needs and the OpenAPI description of the API.
|
Package api is a platform module: a gRPC server and a REST gateway in front of it, with the interceptors every service needs and the OpenAPI description of the API. |
|
enums
Package enums is a platform module: the catalog of the enums of the project served to clients, as taply's GetEnums does, with descriptions translated when i18n is enabled.
|
Package enums is a platform module: the catalog of the enums of the project served to clients, as taply's GetEnums does, with descriptions translated when i18n is enabled. |
|
i18n
Package i18n is a platform module: translations of API responses and error messages, ported from taply.
|
Package i18n is a platform module: translations of API responses and error messages, ported from taply. |
|
postgres
Package postgres is a platform module: a PostgreSQL connection pool with a health check, pool metrics and a clean shutdown.
|
Package postgres is a platform module: a PostgreSQL connection pool with a health check, pool metrics and a clean shutdown. |
|
rbac
Package rbac is a platform module: role based access to the gRPC methods of the API, in the model and policy format of taply.
|
Package rbac is a platform module: role based access to the gRPC methods of the API, in the model and policy format of taply. |
|
riverx
Package riverx is a platform module: background jobs on River, stored in the PostgreSQL database of the postgres module.
|
Package riverx is a platform module: background jobs on River, stored in the PostgreSQL database of the postgres module. |
|
s3
Package s3 is a platform module: S3 compatible object storage — MinIO locally, any S3 in production — for the files of the project.
|
Package s3 is a platform module: S3 compatible object storage — MinIO locally, any S3 in production — for the files of the project. |
|
settings
Package settings is a platform module: business settings of the project, stored in the database and editable without a deploy.
|
Package settings is a platform module: business settings of the project, stored in the database and editable without a deploy. |
|
web
Package web is a platform module: server rendered pages next to the API — templ components, htmx fragments, CSRF protection, sealed cookies and hashed static assets from kit/webx.
|
Package web is a platform module: server rendered pages next to the API — templ components, htmx fragments, CSRF protection, sealed cookies and hashed static assets from kit/webx. |
|
Package pgdb opens a PostgreSQL connection pool and helps with transactions.
|
Package pgdb opens a PostgreSQL connection pool and helps with transactions. |
|
Package settingsx holds the business settings of a project: the schema, the current values and typed access to them.
|
Package settingsx holds the business settings of a project: the schema, the current values and typed access to them. |
|
Package webx serves server rendered pages: templ components rendered as a whole page or as an htmx fragment, CSRF protection, sealed cookies for the state of multi step forms, static assets with content hashed names and a strict content security policy.
|
Package webx serves server rendered pages: templ components rendered as a whole page or as an htmx fragment, CSRF protection, sealed cookies for the state of multi step forms, static assets with content hashed names and a strict content security policy. |
Click to show internal directories.
Click to hide internal directories.