Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1
Code generated by ogen, DO NOT EDIT.
|
Code generated by ogen, DO NOT EDIT. |
|
Package app is the application's composition root.
|
Package app is the application's composition root. |
|
Package auth provides token validation, token generation, and the request-context carrier for the authenticated subject.
|
Package auth provides token validation, token generation, and the request-context carrier for the authenticated subject. |
|
Package cli holds the process-level lifecycle helpers shared by the Cobra commands in cmd.
|
Package cli holds the process-level lifecycle helpers shared by the Cobra commands in cmd. |
|
seed
Package seed provides idempotent development database seeding for the starter.
|
Package seed provides idempotent development database seeding for the starter. |
|
Package controller maps the generated OpenAPI transport in internal/api/v1 onto business behavior.
|
Package controller maps the generated OpenAPI transport in internal/api/v1 onto business behavior. |
|
Package domain defines business data, shared repository contracts, and business-facing errors.
|
Package domain defines business data, shared repository contracts, and business-facing errors. |
|
modules
|
|
|
credential
Package credential verifies a plaintext password against a user's stored bcrypt hash.
|
Package credential verifies a plaintext password against a user's stored bcrypt hash. |
|
user
Package user implements PostgreSQL persistence for the example user business module.
|
Package user implements PostgreSQL persistence for the example user business module. |
|
platform
|
|
|
config
Package config defines the application's decoded configuration and its command-scoped validation rules.
|
Package config defines the application's decoded configuration and its command-scoped validation rules. |
|
database
Package database defines technical database lifecycle contracts shared by PostgreSQL infrastructure.
|
Package database defines technical database lifecycle contracts shared by PostgreSQL infrastructure. |
|
database/postgres
Package postgres provides PostgreSQL connection, migration, and metrics infrastructure.
|
Package postgres provides PostgreSQL connection, migration, and metrics infrastructure. |
|
health
Package health evaluates the technical dependencies required for the application to serve traffic.
|
Package health evaluates the technical dependencies required for the application to serve traffic. |
|
http/middleware
Package middleware provides the HTTP middleware the application's server mounts: structured request logging, panic recovery, request-body size limits, reserved-path-aware static file serving, and trusted-proxy-aware login rate limiting.
|
Package middleware provides the HTTP middleware the application's server mounts: structured request logging, panic recovery, request-body size limits, reserved-path-aware static file serving, and trusted-proxy-aware login rate limiting. |
|
http/server
Package server implements the application's HTTP server: middleware stack, route mounting, and graceful lifecycle management.
|
Package server implements the application's HTTP server: middleware stack, route mounting, and graceful lifecycle management. |
|
observability
Package observability wires the application's OpenTelemetry signals to an OTLP/gRPC collector.
|
Package observability wires the application's OpenTelemetry signals to an OTLP/gRPC collector. |
|
ratelimiter
Package ratelimiter provides a bounded, process-local fixed-window rate limiter.
|
Package ratelimiter provides a bounded, process-local fixed-window rate limiter. |
|
Package templateinit safely replaces the template's project identity.
|
Package templateinit safely replaces the template's project identity. |
Click to show internal directories.
Click to hide internal directories.