Documentation
¶
Overview ¶
Package domain is the root of the domain layer: one subpackage per bounded context, holding its entities, value objects and invariants.
Domain code is plain Go. It imports only the standard library, the eval module and internal/shared; never a database driver, net/http or another layer. It performs no I/O and reads no clock: callers pass time and IDs in. The linter enforces these rules.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package access is the domain of who may do what: members and the instance admin, API tokens and their scopes, the permission catalog, the built-in roles and how a caller is judged against what an operation requires.
|
Package access is the domain of who may do what: members and the instance admin, API tokens and their scopes, the permission catalog, the built-in roles and how a caller is judged against what an operation requires. |
|
Package delivery is the domain of what an environment's SDKs receive: the ruleset materialized from its flags, segments and declarations, and the evaluation of it that explains what a context is served.
|
Package delivery is the domain of what an environment's SDKs receive: the ruleset materialized from its flags, segments and declarations, and the evaluation of it that explains what a context is served. |
|
Package events is the domain of the events context: the events SDKs post, how each is judged on its own, and how an exposure is judged against the experiment it names.
|
Package events is the domain of the events context: the events SDKs post, how each is judged on its own, and how an exposure is judged against the experiment it names. |
|
Package experiments is the domain of experiments: a time-boxed comparison of variations of one flag on a declared unit type, with a hypothesis, an owner, weights, a traffic allocation and two public salts.
|
Package experiments is the domain of experiments: a time-boxed comparison of variations of one flag on a declared unit type, with a hypothesis, an owner, weights, a traffic allocation and two public salts. |
|
Package flags is the domain of what a project serves: flags with their definition and variations, their configuration in each environment, and the segments their rules target.
|
Package flags is the domain of what a project serves: flags with their definition and variations, their configuration in each environment, and the segments their rules target. |
|
Package governance is the domain of how changes are governed.
|
Package governance is the domain of how changes are governed. |
|
Package workspace is the domain of where flags live: projects, their environments, and the unit types and attributes their targeting refers to.
|
Package workspace is the domain of where flags live: projects, their environments, and the unit types and attributes their targeting refers to. |
Click to show internal directories.
Click to hide internal directories.