Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
platformgo
command
Command platformgo creates, generates and maintains Go projects on the platform.
|
Command platformgo creates, generates and maintains Go projects on the platform. |
|
internal
|
|
|
apply
Package apply brings a project in line with its platformgo.yaml.
|
Package apply brings a project in line with its platformgo.yaml. |
|
codegen
Package codegen runs the external generators of the postgres module: sqlc for static queries and jet for dynamic ones.
|
Package codegen runs the external generators of the postgres module: sqlc for static queries and jet for dynamic ones. |
|
gen
Package gen generates project files from platformgo.yaml.
|
Package gen generates project files from platformgo.yaml. |
|
gomod
Package gomod reads and edits the go.mod of a project through the go command.
|
Package gomod reads and edits the go.mod of a project through the go command. |
|
lint
Package lint runs the checks of a project in one place: the checks of taply, with the ones that depend on a module run only when the module is enabled.
|
Package lint runs the checks of a project in one place: the checks of taply, with the ones that depend on a module run only when the module is enabled. |
|
lock
Package lock reads and writes platformgo.lock: what platformgo has actually applied to a project.
|
Package lock reads and writes platformgo.lock: what platformgo has actually applied to a project. |
|
registry
Package registry is the catalogue of modules platformgo knows how to wire in.
|
Package registry is the catalogue of modules platformgo knows how to wire in. |
|
scaffold
Package scaffold creates a new project on the platform.
|
Package scaffold creates a new project on the platform. |
|
settingsdef
Package settingsdef reads settings.yaml, the business settings schema of a project.
|
Package settingsdef reads settings.yaml, the business settings schema of a project. |
|
spec
Package spec reads and validates platformgo.yaml, the description of a project.
|
Package spec reads and validates platformgo.yaml, the description of a project. |
|
upgrade
Package upgrade moves a project to another platform version.
|
Package upgrade moves a project to another platform version. |
|
version
Package version holds the platform version stamped into new projects.
|
Package version holds the platform version stamped into new projects. |
|
kit
|
|
|
adminx
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. |
|
confx
Package confx reads settings from environment variables.
|
Package confx reads settings from environment variables. |
|
logx
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. |
|
modules/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. |
|
modules/api/internal/testapi/platformtest/v1
Package platformtestv1 is a reverse proxy.
|
Package platformtestv1 is a reverse proxy. |
|
modules/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. |
|
modules/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. |
|
modules/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. |
|
modules/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. |
|
pgdb
Package pgdb opens a PostgreSQL connection pool and helps with transactions.
|
Package pgdb opens a PostgreSQL connection pool and helps with transactions. |
|
settingsx
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. |
Click to show internal directories.
Click to hide internal directories.