internal/

directory
v0.0.0-...-028d67e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT

Directories

Path Synopsis
Package bootstrap provides the boot-time infrastructure; business modules never import it.
Package bootstrap provides the boot-time infrastructure; business modules never import it.
Package order is the order module's assembly.
Package order is the order module's assembly.
biz
Package biz holds the order module's business logic; cross-module needs are interfaces defined here (Users), so it never imports another module.
Package biz holds the order module's business logic; cross-module needs are interfaces defined here (Users), so it never imports another module.
service
Package service adapts HTTP to the usecase: bind, validate, delegate, respond.
Package service adapts HTTP to the usecase: bind, validate, delegate, respond.
pkg
apperr
Package apperr standardizes client-facing errors: transports map the closed set of kinds — never individual codes — to a status, so modules add codes without touching shared files.
Package apperr standardizes client-facing errors: transports map the closed set of kinds — never individual codes — to a status, so modules add codes without touching shared files.
event
Package event is the bus contract: modules publish and subscribe without importing each other; the implementation lives in bootstrap.
Package event is the bus contract: modules publish and subscribe without importing each other; the implementation lives in bootstrap.
job
Package job is the scheduler contribution contract shared by every module.
Package job is the scheduler contribution contract shared by every module.
registry
Package registry collects same-kind contributions (routes, commands, jobs) registered under the naming conventions below — do's stand-in for value groups.
Package registry collects same-kind contributions (routes, commands, jobs) registered under the naming conventions below — do's stand-in for value groups.
transport
Package transport holds the HTTP helpers shared by every module's service layer: request binding/validation, response envelopes and error mapping.
Package transport holds the HTTP helpers shared by every module's service layer: request binding/validation, response envelopes and error mapping.
Package server assembles the HTTP layer from the modules' route contributions and serves the non-domain endpoints.
Package server assembles the HTTP layer from the modules' route contributions and serves the non-domain endpoints.
Package user is the user module's assembly.
Package user is the user module's assembly.
biz
Package biz holds the user module's transport-independent business logic; other modules depend on it, never on the data layer.
Package biz holds the user module's transport-independent business logic; other modules depend on it, never on the data layer.
service
Package service adapts HTTP and CLI to the usecase: bind, validate, delegate, respond.
Package service adapts HTTP and CLI to the usecase: bind, validate, delegate, respond.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL