Documentation
¶
Overview ¶
Package app is the root of the application layer: one subpackage per bounded context, holding its command and query handlers.
A handler is a struct with exactly the dependencies its use case needs and one method that runs it. It declares the ports it uses as small interfaces next to itself, owns the transaction boundary of a command, and maps its own command and result types to and from domain models. It imports domain and shared, never infra, a database driver or net/http.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package access holds the use cases of the access context: members, the instance admin, API tokens and the authentication of their callers.
|
Package access holds the use cases of the access context: members, the instance admin, API tokens and the authentication of their callers. |
|
Package delivery holds the use cases of the delivery context: for now, moving an environment's ruleset version on when a write changes what its SDKs receive, and evaluating its ruleset for a context to explain what the context is served.
|
Package delivery holds the use cases of the delivery context: for now, moving an environment's ruleset version on when a write changes what its SDKs receive, and evaluating its ruleset for a context to explain what the context is served. |
|
Package flags holds the use cases of the flags context: flags, their configuration in each environment, and segments.
|
Package flags holds the use cases of the flags context: flags, their configuration in each environment, and segments. |
|
Package governance holds the use cases of the governance context: for now, reading the audit log.
|
Package governance holds the use cases of the governance context: for now, reading the audit log. |
|
Package workspace holds the use cases of the workspace context: projects, their environments, unit types and attributes.
|
Package workspace holds the use cases of the workspace context: projects, their environments, unit types and attributes. |
Click to show internal directories.
Click to hide internal directories.