shared/

directory
v0.0.0-...-4ed5899 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT

README

shared

Contracts shared by every module:

  • transport — request binding, response envelopes, endpoint declarations
  • apperr — typed application errors
  • event — the event bus interface
  • registry — typed Wire contribution collections (routes, commands, jobs, subscriptions, health checks)
  • job — the scheduler contribution type

Packages here depend only on each other; the architecture test enforces it.

Directories

Path Synopsis
Package apperr standardizes client-facing errors: transports map the closed set of kinds to HTTP statuses.
Package apperr standardizes client-facing errors: transports map the closed set of kinds to HTTP statuses.
Package event is the in-process event bus contract.
Package event is the in-process event bus contract.
Package job is the scheduler contribution contract shared by every module.
Package job is the scheduler contribution contract shared by every module.
Package registry defines the typed collections assembled by wire.
Package registry defines the typed collections assembled by wire.
Package transport holds the HTTP helpers shared by every service layer.
Package transport holds the HTTP helpers shared by every service layer.

Jump to

Keyboard shortcuts

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