Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentdocs serves the agent discovery documents: the Agent Skill (SKILL.md and a ZIP archive), the skills index, the MCP server card, and llms.txt.
|
Package agentdocs serves the agent discovery documents: the Agent Skill (SKILL.md and a ZIP archive), the skills index, the MCP server card, and llms.txt. |
|
Package buildinfo exposes the build-time version string used by both the PeeringDB User-Agent and the OTel resource so they stay in lockstep.
|
Package buildinfo exposes the build-time version string used by both the PeeringDB User-Agent and the OTel resource so they stay in lockstep. |
|
Package catalog provides protocol-neutral PeeringDB catalog queries and data.
|
Package catalog provides protocol-neutral PeeringDB catalog queries and data. |
|
Package config loads application configuration from environment variables.
|
Package config loads application configuration from environment variables. |
|
Package conformance provides structural comparison of JSON API responses for validating PeeringDB compatibility layer output against the real PeeringDB API.
|
Package conformance provides structural comparison of JSON API responses for validating PeeringDB compatibility layer output against the real PeeringDB API. |
|
Package database provides SQLite database setup for the ent ORM client.
|
Package database provides SQLite database setup for the ent ORM client. |
|
Package graphql provides the HTTP handler factory for the PeeringDB Plus GraphQL API.
|
Package graphql provides the HTTP handler factory for the PeeringDB Plus GraphQL API. |
|
Package grpcserver provides ConnectRPC service handlers for the PeeringDB gRPC API.
|
Package grpcserver provides ConnectRPC service handlers for the PeeringDB gRPC API. |
|
Package health provides HTTP handlers for liveness and readiness checks.
|
Package health provides HTTP handlers for liveness and readiness checks. |
|
Package httperr provides RFC 9457 Problem Details for HTTP API error responses.
|
Package httperr provides RFC 9457 Problem Details for HTTP API error responses. |
|
Package litefs provides utilities for detecting the role of the current node in a LiteFS cluster (primary vs replica) and for reading the replication position of a database.
|
Package litefs provides utilities for detecting the role of the current node in a LiteFS cluster (primary vs replica) and for reading the replication position of a database. |
|
Package maptiles validates browser basemap configuration.
|
Package maptiles validates browser basemap configuration. |
|
Package mcpserver exposes the local PeeringDB mirror over MCP.
|
Package mcpserver exposes the local PeeringDB mirror over MCP. |
|
Package middleware provides HTTP middleware for the PeeringDB Plus server.
|
Package middleware provides HTTP middleware for the PeeringDB Plus server. |
|
Package otel initializes the OpenTelemetry trace, metric, and log pipelines.
|
Package otel initializes the OpenTelemetry trace, metric, and log pipelines. |
|
Package pdbcompat provides a PeeringDB-compatible REST API layer that translates Django-style query parameters to ent predicates and serializes ent entities to PeeringDB's exact JSON response format.
|
Package pdbcompat provides a PeeringDB-compatible REST API layer that translates Django-style query parameters to ent predicates and serializes ent entities to PeeringDB's exact JSON response format. |
|
parity
Package parity holds regression tests that lock pdbcompat behavior to upstream PeeringDB.
|
Package parity holds regression tests that lock pdbcompat behavior to upstream PeeringDB. |
|
schemaannot
Package schemaannot exposes ent schema annotation types consumed by ent/schema/*.go to describe pdbcompat's Path A allowlist and per-edge FILTER_EXCLUDE.
|
Package schemaannot exposes ent schema annotation types consumed by ent/schema/*.go to describe pdbcompat's Path A allowlist and per-edge FILTER_EXCLUDE. |
|
Package pdbtypes is the leaf source of truth for the 13 PeeringDB object types.
|
Package pdbtypes is the leaf source of truth for the 13 PeeringDB object types. |
|
Package peeringdb provides a client for the PeeringDB API with rate limiting, pagination, retry logic, and response types for all 13 PeeringDB object types.
|
Package peeringdb provides a client for the PeeringDB API with rate limiting, pagination, retry logic, and response types for all 13 PeeringDB object types. |
|
Package privctx propagates the visibility tier of the caller through a Go context.
|
Package privctx propagates the visibility tier of the caller through a Go context. |
|
Package privfield provides serializer-layer field-level privacy redaction.
|
Package privfield provides serializer-layer field-level privacy redaction. |
|
Package sync orchestrates data synchronization from PeeringDB into the local SQLite database using the ent ORM.
|
Package sync orchestrates data synchronization from PeeringDB into the local SQLite database using the ent ORM. |
|
Package testutil provides shared test helpers for ent client setup.
|
Package testutil provides shared test helpers for ent client setup. |
|
seed
Package seed provides deterministic test data seeding for PeeringDB entity types.
|
Package seed provides deterministic test data seeding for PeeringDB entity types. |
|
Package unifold folds Unicode strings into a normalized ASCII-lowercase form suitable for diacritic-insensitive equality and substring matching.
|
Package unifold folds Unicode strings into a normalized ASCII-lowercase form suitable for diacritic-insensitive equality and substring matching. |
|
Package visbaseline captures and diffs unauthenticated vs authenticated PeeringDB API responses for all 13 object types, with a strict no-PII-in-repo guarantee enforced by the Redact function in this package.
|
Package visbaseline captures and diffs unauthenticated vs authenticated PeeringDB API responses for all 13 object types, with a strict no-PII-in-repo guarantee enforced by the Redact function in this package. |
|
Package web serves the /ui/ web interface as HTML, htmx fragments, terminal text, and JSON.
|
Package web serves the /ui/ web interface as HTML, htmx fragments, terminal text, and JSON. |
|
static
Package static holds the embedded web assets and their content versions.
|
Package static holds the embedded web assets and their content versions. |
|
templates
templ: version: v0.3.1020
|
templ: version: v0.3.1020 |
|
termrender
Package termrender provides terminal client detection and ANSI text rendering for serving styled text responses to CLI clients like curl, wget, and HTTPie.
|
Package termrender provides terminal client detection and ANSI text rendering for serving styled text responses to CLI clients like curl, wget, and HTTPie. |
Click to show internal directories.
Click to hide internal directories.