internal/

directory
v0.0.0-...-5e5371a Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: AGPL-3.0

Directories

Path Synopsis
adapter
inbound/graphql/scalar
Package scalar provides custom GraphQL scalar implementations.
Package scalar provides custom GraphQL scalar implementations.
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.
outbound/blobs/blobkey
Package blobkey defines and validates blob storage key grammar.
Package blobkey defines and validates blob storage key grammar.
outbound/blobs/filesystem
Package filesystem implements outbound.BlobStore using the local filesystem.
Package filesystem implements outbound.BlobStore using the local filesystem.
outbound/blobs/postgres
Package postgres implements outbound.BlobStore using Postgres bytea storage.
Package postgres implements outbound.BlobStore using Postgres bytea storage.
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.
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.
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.
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.
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.
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.
outbound/eventstore/postgres/projection
Package projection contains the projection handlers and the projector loop.
Package projection contains the projection handlers and the projector loop.
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.
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.
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.
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.
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.
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).
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.
outbound/tilestore/inmem
Package inmem implements outbound.TileStore in memory for tests.
Package inmem implements outbound.TileStore in memory for tests.
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.
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).
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.
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.
domain/incident
Package incident implements the Incident aggregate root.
Package incident implements the Incident aggregate root.
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.
domain/layer
Package layer implements the Layer aggregate root.
Package layer implements the Layer aggregate root.
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.
domain/message
Package message implements the Message aggregate root.
Package message implements the Message aggregate root.
domain/resource
Package resource implements the Resource aggregate root.
Package resource implements the Resource aggregate root.
domain/schadenplatz
Package schadenplatz implements the Schadenplatz aggregate root.
Package schadenplatz implements the Schadenplatz aggregate root.
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.
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.
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.
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.
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.

Jump to

Keyboard shortcuts

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