internal/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT

Directories

Path Synopsis
Package admin manages the read API's bearer-token file.
Package admin manages the read API's bearer-token file.
Package api implements the read API surface from ARCHITECTURE § 6.
Package api implements the read API surface from ARCHITECTURE § 6.
Package capture implements the lossy-channel + drainer pattern from ARCHITECTURE § 7.2 and the per-event timing capture from § 7.1 step 2.
Package capture implements the lossy-channel + drainer pattern from ARCHITECTURE § 7.2 and the per-event timing capture from § 7.1 step 2.
Package config loads api-log's runtime configuration from YAML and environment overrides.
Package config loads api-log's runtime configuration from YAML and environment overrides.
Package counters exposes the cumulative drop / overflow counters surfaced on /healthz per ARCHITECTURE § 6.5.
Package counters exposes the cumulative drop / overflow counters surfaced on /healthz per ARCHITECTURE § 6.5.
Package exporter builds the /api/export zip.
Package exporter builds the /api/export zip.
Package ids provides trace IDs and deterministic hashes derived from named request values.
Package ids provides trace IDs and deterministic hashes derived from named request values.
Package logging configures the process-wide slog logger per ARCHITECTURE engineering standards: structured fields, level-correct semantics, no interpolated strings.
Package logging configures the process-wide slog logger per ARCHITECTURE engineering standards: structured fields, level-correct semantics, no interpolated strings.
Package media implements deterministic media-file extraction for named protocol fields; see docs/specs/phase-k-media-contract.md.
Package media implements deterministic media-file extraction for named protocol fields; see docs/specs/phase-k-media-contract.md.
Package parser is the finalize-time body parser described in ARCHITECTURE § 7.1 step 7.
Package parser is the finalize-time body parser described in ARCHITECTURE § 7.1 step 7.
Package plugin defines the Phase A observe-class plugin surface (ObserveOnFinalize / ObserveAfterWrite) used by the path-filter plugin to drop traces before they reach the writer.
Package plugin defines the Phase A observe-class plugin surface (ObserveOnFinalize / ObserveAfterWrite) used by the path-filter plugin to drop traces before they reach the writer.
builtin/pathfilter
Package pathfilter implements the Phase A "path-filter" plugin: an ObserveOnFinalize plugin that drops traces whose Path matches any operator-configured pattern.
Package pathfilter implements the Phase A "path-filter" plugin: an ObserveOnFinalize plugin that drops traces whose Path matches any operator-configured pattern.
v2
Package v2 implements the hot-path BEFORE / AFTER plugin contract.
Package v2 implements the hot-path BEFORE / AFTER plugin contract.
v2/builtin/textappend
Package textappend implements the text-append plugin described in docs/specs/plugin-b-c-spec.md, using append-to-last-delta for streaming responses.
Package textappend implements the text-append plugin described in docs/specs/plugin-b-c-spec.md, using append-to-last-delta for streaming responses.
v2/builtin/textreplace
Package textreplace implements the text-replace plugin described in docs/specs/plugin-b-c-spec.md.
Package textreplace implements the text-replace plugin described in docs/specs/plugin-b-c-spec.md.
Package proxy assembles the httputil.ReverseProxy + custom Transport pipeline documented in ARCHITECTURE § 10.2.
Package proxy assembles the httputil.ReverseProxy + custom Transport pipeline documented in ARCHITECTURE § 10.2.
Package runtime is the persistence layer for tiny operator-toggleable settings that need to survive process restart and be writable at runtime from an API endpoint (e.g.
Package runtime is the persistence layer for tiny operator-toggleable settings that need to survive process restart and be writable at runtime from an API endpoint (e.g.
Package session implements the session-prefix construction and canonical-hashing described in ARCHITECTURE § 5.1 and § 5.2.
Package session implements the session-prefix construction and canonical-hashing described in ARCHITECTURE § 5.1 and § 5.2.
Package sse implements the SSE parser described in ARCHITECTURE § 10.6.
Package sse implements the SSE parser described in ARCHITECTURE § 10.6.
Package storage owns the coordination layer between writer, exporter, retention, and the read API for on-disk JSONL files.
Package storage owns the coordination layer between writer, exporter, retention, and the read API for on-disk JSONL files.
store
sqlite
Package sqlite is the derived-cache store described in ARCHITECTURE § 4.
Package sqlite is the derived-cache store described in ARCHITECTURE § 4.
Package trace is the JSONL line shape described in ARCHITECTURE § 3.
Package trace is the JSONL line shape described in ARCHITECTURE § 3.
Package viewerhost fetches, verifies, caches, and serves the api-log-viewer single-page bundle at a local URL prefix.
Package viewerhost fetches, verifies, caches, and serves the api-log-viewer single-page bundle at a local URL prefix.
Package writer is the single-writer goroutine described in ARCHITECTURE § 7 and § 8.
Package writer is the single-writer goroutine described in ARCHITECTURE § 7 and § 8.

Jump to

Keyboard shortcuts

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