internal/

directory
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package anchor builds Merkle trees for snapshots and submits their roots to one or more OpenTimestamps calendars.
Package anchor builds Merkle trees for snapshots and submits their roots to one or more OpenTimestamps calendars.
Package api implements the public HTTP API.
Package api implements the public HTTP API.
Package archive is a thin wrapper around minio-go for S3-compatible storage.
Package archive is a thin wrapper around minio-go for S3-compatible storage.
Package canonjson produces a deterministic JSON serialization of arbitrary values.
Package canonjson produces a deterministic JSON serialization of arbitrary values.
Package cartoes parses Portal da Transparência CPGF JSON into a typed row ready for the cartoes projection table.
Package cartoes parses Portal da Transparência CPGF JSON into a typed row ready for the cartoes projection table.
Package ceap parses CEAP (Câmara) JSON into a typed row.
Package ceap parses CEAP (Câmara) JSON into a typed row.
Package collector orchestrates a single collection run: it fetches records from a source, canonicalizes them, hashes them, and persists a snapshot plus events to the store.
Package collector orchestrates a single collection run: it fetches records from a source, canonicalizes them, hashes them, and persists a snapshot plus events to the store.
Package config loads runtime configuration from environment variables.
Package config loads runtime configuration from environment variables.
Package contratos parses PNCP canonical JSON into a typed contract row ready to be inserted into the contratos projection table.
Package contratos parses PNCP canonical JSON into a typed contract row ready to be inserted into the contratos projection table.
Package drift runs the diff detector: it finds pairs of consecutive snapshots of the same source that have not been compared yet, computes the per-record difference, and persists a diff_run plus one change_event per affected record.
Package drift runs the diff detector: it finds pairs of consecutive snapshots of the same source that have not been compared yet, computes the per-record difference, and persists a diff_run plus one change_event per affected record.
Package entes loads and manages the list of Brazilian public entities.
Package entes loads and manages the list of Brazilian public entities.
Package feed generates Atom and JSON Feed documents from change_events.
Package feed generates Atom and JSON Feed documents from change_events.
Package lai runs compliance checks against Brazilian public transparency portals.
Package lai runs compliance checks against Brazilian public transparency portals.
Package logging sets up a zerolog logger based on config.
Package logging sets up a zerolog logger based on config.
Package merkle implements a binary SHA-256 Merkle tree with inclusion proofs.
Package merkle implements a binary SHA-256 Merkle tree with inclusion proofs.
Package metrics centralizes Prometheus metrics used across collector, anchor, and API components.
Package metrics centralizes Prometheus metrics used across collector, anchor, and API components.
Package notify dispatches change_events to external channels: Telegram, Mastodon, and (internally) the RSS/JSON feeds.
Package notify dispatches change_events to external channels: Telegram, Mastodon, and (internally) the RSS/JSON feeds.
Package ots implements a minimal HTTP client for OpenTimestamps calendar servers.
Package ots implements a minimal HTTP client for OpenTimestamps calendar servers.
Package severity classifies change events into info/warn/alert levels.
Package severity classifies change events into info/warn/alert levels.
Forenses queries — heurísticas para detectar padrões suspeitos sobre os dados já materializados (contratos, cartoes, eventos CEIS/CNEP).
Forenses queries — heurísticas para detectar padrões suspeitos sobre os dados já materializados (contratos, cartoes, eventos CEIS/CNEP).
Package transparencia provides a typed HTTP client for the Brazilian Portal da Transparência public API.
Package transparencia provides a typed HTTP client for the Brazilian Portal da Transparência public API.
camara
Package camara fetches data from the Câmara dos Deputados public API (dadosabertos.camara.leg.br).
Package camara fetches data from the Câmara dos Deputados public API (dadosabertos.camara.leg.br).
cartoes
Package cartoes fetches transactions from the CPGF (Cartão de Pagamento do Governo Federal) endpoint of the Portal da Transparência.
Package cartoes fetches transactions from the CPGF (Cartão de Pagamento do Governo Federal) endpoint of the Portal da Transparência.
ceis
Package ceis fetches records from the CEIS (Cadastro de Empresas Inidôneas e Suspensas) endpoint of the Portal da Transparência.
Package ceis fetches records from the CEIS (Cadastro de Empresas Inidôneas e Suspensas) endpoint of the Portal da Transparência.
cnep
Package cnep fetches records from the CNEP (Cadastro Nacional de Empresas Punidas) endpoint of the Portal da Transparência.
Package cnep fetches records from the CNEP (Cadastro Nacional de Empresas Punidas) endpoint of the Portal da Transparência.
pncp
Package pncp fetches records from the Portal Nacional de Contratações Públicas (PNCP), which aggregates all public procurement contracts in Brazil since 2023.
Package pncp fetches records from the Portal Nacional de Contratações Públicas (PNCP), which aggregates all public procurement contracts in Brazil since 2023.

Jump to

Keyboard shortcuts

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