app

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

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 events holds the use cases of the events context: ingest of the events SDKs post.
Package events holds the use cases of the events context: ingest of the events SDKs post.
Package experiments holds the use cases of the experiments context.
Package experiments holds the use cases of the experiments context.
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: recording the audit entries of every context and reading the audit log.
Package governance holds the use cases of the governance context: recording the audit entries of every context and reading the audit log.
Package identity holds the use cases of the identity context: the auth providers an instance admin configures and, as they arrive, the sign-ins, identities and directory provisioning built on them.
Package identity holds the use cases of the identity context: the auth providers an instance admin configures and, as they arrive, the sign-ins, identities and directory provisioning built on them.
Package sinks holds the use cases of a project's sinks: the resource a maintainer creates, reads, edits and deletes, whose credentials are sealed and never read back.
Package sinks holds the use cases of a project's sinks: the resource a maintainer creates, reads, edits and deletes, whose credentials are sealed and never read back.
Package transfer holds the use cases of the transfer context: a project's configuration leaving the platform as a project document.
Package transfer holds the use cases of the transfer context: a project's configuration leaving the platform as a project document.
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.

Jump to

Keyboard shortcuts

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