Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
adapter/inbound/graphql/scalar
Package scalar provides custom GraphQL scalar implementations.
|
Package scalar provides custom GraphQL scalar implementations. |
|
adapter/inbound/tilesync
Package tilesync is the driving adapter that keeps the local tile archives up to date: it calls TileSyncService on start and then at a fixed interval, like the projector's background loops.
|
Package tilesync is the driving adapter that keeps the local tile archives up to date: it calls TileSyncService on start and then at a fixed interval, like the projector's background loops. |
|
adapter/outbound/blobs/blobkey
Package blobkey defines and validates blob storage key grammar.
|
Package blobkey defines and validates blob storage key grammar. |
|
adapter/outbound/blobs/filesystem
Package filesystem implements outbound.BlobStore using the local filesystem.
|
Package filesystem implements outbound.BlobStore using the local filesystem. |
|
adapter/outbound/blobs/postgres
Package postgres implements outbound.BlobStore using Postgres bytea storage.
|
Package postgres implements outbound.BlobStore using Postgres bytea storage. |
|
adapter/outbound/conformance
Package conformance provides a shared test suite for the outbound storage ports.
|
Package conformance provides a shared test suite for the outbound storage ports. |
|
adapter/outbound/eventstore
Package eventstore provides event-sourced repository implementations that work with any outbound.EventStore backend — Postgres, in-memory, or SQLite.
|
Package eventstore provides event-sourced repository implementations that work with any outbound.EventStore backend — Postgres, in-memory, or SQLite. |
|
adapter/outbound/eventstore/featurechange
Package featurechange decodes Feature events into the backend-independent record that the layer projections persist in feature_change, and holds the rule that decides whether a change updates the layer's current state.
|
Package featurechange decodes Feature events into the backend-independent record that the layer projections persist in feature_change, and holds the rule that decides whether a change updates the layer's current state. |
|
adapter/outbound/eventstore/inmem
Package inmem provides in-memory implementations of the write-side ports.
|
Package inmem provides in-memory implementations of the write-side ports. |
|
adapter/outbound/eventstore/inmem/projection
Package projection provides in-memory projection handlers and a synchronous projector for use in tests.
|
Package projection provides in-memory projection handlers and a synchronous projector for use in tests. |
|
adapter/outbound/eventstore/postgres
Package postgres is the Postgres-backed implementation of the event store ports and repository adapters.
|
Package postgres is the Postgres-backed implementation of the event store ports and repository adapters. |
|
adapter/outbound/eventstore/postgres/projection
Package projection contains the projection handlers and the projector loop.
|
Package projection contains the projection handlers and the projector loop. |
|
adapter/outbound/eventstore/projection
Package projection provides shared projection infrastructure used by both the postgres and in-memory projector implementations.
|
Package projection provides shared projection infrastructure used by both the postgres and in-memory projector implementations. |
|
adapter/outbound/eventstore/sqlite
Package sqlite is the SQLite-backed implementation of the event store ports and repository adapters.
|
Package sqlite is the SQLite-backed implementation of the event store ports and repository adapters. |
|
adapter/outbound/eventstore/sqlite/projection
Package projection contains the SQLite projection handlers and the projector loop.
|
Package projection contains the SQLite projection handlers and the projector loop. |
|
adapter/outbound/helpers/sqlite
Package sqlitex provides shared codecs, connection helpers, and type adapters for the SQLite storage backend.
|
Package sqlitex provides shared codecs, connection helpers, and type adapters for the SQLite storage backend. |
|
adapter/outbound/queries/inmem
Package inmem implements the outbound.Queries port against the in-memory projection handlers.
|
Package inmem implements the outbound.Queries port against the in-memory projection handlers. |
|
adapter/outbound/queries/postgres
Package postgres implements the outbound.Queries port against the Postgres projection tables (readmodel.incident, readmodel.incident_division, readmodel.message, readmodel.layer_features).
|
Package postgres implements the outbound.Queries port against the Postgres projection tables (readmodel.incident, readmodel.incident_division, readmodel.message, readmodel.layer_features). |
|
adapter/outbound/queries/sqlite
Package sqlite implements outbound.Queries against the SQLite read-model projection tables.
|
Package sqlite implements outbound.Queries against the SQLite read-model projection tables. |
|
adapter/outbound/tilestore/inmem
Package inmem implements outbound.TileStore in memory for tests.
|
Package inmem implements outbound.TileStore in memory for tests. |
|
adapter/outbound/tilestore/mbtiles
Package mbtiles implements outbound.TileStore on top of MBTiles archives (SQLite files) in a local directory.
|
Package mbtiles implements outbound.TileStore on top of MBTiles archives (SQLite files) in a local directory. |
|
adapter/outbound/tileupstream/swisstopo
Package swisstopo implements outbound.TileUpstream against the public swisstopo vector tile service (https://vectortiles.geo.admin.ch).
|
Package swisstopo implements outbound.TileUpstream against the public swisstopo vector tile service (https://vectortiles.geo.admin.ch). |
|
adapter/outbound/user/postgres
Package postgres implements the outbound.UserRepository port against the public.users table.
|
Package postgres implements the outbound.UserRepository port against the public.users table. |
|
adapter/outbound/user/sqlite
Package sqlite implements outbound.UserRepository against the SQLite users table.
|
Package sqlite implements outbound.UserRepository against the SQLite users table. |
|
core/domain/feature
Package feature implements the Feature aggregate root.
|
Package feature implements the Feature aggregate root. |
|
core/domain/incident
Package incident implements the Incident aggregate root.
|
Package incident implements the Incident aggregate root. |
|
core/domain/kpi
Package kpi works out the key figures of an incident from the history of its messages, for the review after the operation: how long it took to triage and draw a message, how the messages were spread over the divisions and how fast those acknowledged them, how much had to be done again, and when the load was highest.
|
Package kpi works out the key figures of an incident from the history of its messages, for the review after the operation: how long it took to triage and draw a message, how the messages were spread over the divisions and how fast those acknowledged them, how much had to be done again, and when the load was highest. |
|
core/domain/layer
Package layer implements the Layer aggregate root.
|
Package layer implements the Layer aggregate root. |
|
core/domain/maptile
Package maptile holds the pure types for serving vector map tiles: which tilesets exist, how a tile is addressed and what TileJSON describes it.
|
Package maptile holds the pure types for serving vector map tiles: which tilesets exist, how a tile is addressed and what TileJSON describes it. |
|
core/domain/message
Package message implements the Message aggregate root.
|
Package message implements the Message aggregate root. |
|
core/domain/resource
Package resource implements the Resource aggregate root.
|
Package resource implements the Resource aggregate root. |
|
core/domain/schadenplatz
Package schadenplatz implements the Schadenplatz aggregate root.
|
Package schadenplatz implements the Schadenplatz aggregate root. |
|
core/domain/shared
Package shared contains value types, typed errors and enums shared across all domain aggregates.
|
Package shared contains value types, typed errors and enums shared across all domain aggregates. |
|
core/port/inbound
Package inbound defines the driving (inbound) ports — use-case interfaces the application core exposes to adapters.
|
Package inbound defines the driving (inbound) ports — use-case interfaces the application core exposes to adapters. |
|
core/port/outbound
Package outbound defines the driven (outbound) ports — interfaces the application core requires from infrastructure.
|
Package outbound defines the driven (outbound) ports — interfaces the application core requires from infrastructure. |
|
core/service
Package service contains the application services that orchestrate commands across domain aggregates.
|
Package service contains the application services that orchestrate commands across domain aggregates. |
|
eventsourcing
Package eventsourcing is the I/O-free shared kernel for event-sourced aggregates.
|
Package eventsourcing is the I/O-free shared kernel for event-sourced aggregates. |
|
platform/identity
Package identity bridges OIDC actor information into context.Context so that gqlgen resolvers and application services can read the authenticated subject without depending on echo.Context.
|
Package identity bridges OIDC actor information into context.Context so that gqlgen resolvers and application services can read the authenticated subject without depending on echo.Context. |
|
Package migrations provides dialect-specific migration files and helpers.
|
Package migrations provides dialect-specific migration files and helpers. |
|
internal/messagemap
Package messagemap holds the dialect-independent planning logic of the message map backfill: given the event history of an incident's divisions and layers it decides whether to mark an existing entity as the Nachrichtenkarte or to add a new one.
|
Package messagemap holds the dialect-independent planning logic of the message map backfill: given the event history of an incident's divisions and layers it decides whether to mark an existing entity as the Nachrichtenkarte or to add a new one. |
|
postgres
Package postgres embeds all goose migration files for Postgres.
|
Package postgres embeds all goose migration files for Postgres. |
|
sqlite
Package sqlite embeds all goose migration files for SQLite.
|
Package sqlite embeds all goose migration files for SQLite. |
Click to show internal directories.
Click to hide internal directories.



