internal/

directory
v0.0.0-...-e4d115a Latest Latest
Warning

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

Go to latest
Published: Aug 17, 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.
order
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 defines the typed collections assembled by wire.
Package registry defines the typed collections assembled by wire.
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.
user
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