Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
api-log
command
Command api-log is the transparent recording proxy described in ../../README.md and ../../ARCHITECTURE.md.
|
Command api-log is the transparent recording proxy described in ../../README.md and ../../ARCHITECTURE.md. |
|
experiments
|
|
|
x-forwarded-test
command
Verify how httputil.ReverseProxy handles X-Forwarded-For under three suppression strategies.
|
Verify how httputil.ReverseProxy handles X-Forwarded-For under three suppression strategies. |
|
internal
|
|
|
admin
Package admin manages the read API's bearer-token file.
|
Package admin manages the read API's bearer-token file. |
|
api
Package api implements the read API surface from ARCHITECTURE § 6.
|
Package api implements the read API surface from ARCHITECTURE § 6. |
|
capture
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. |
|
config
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. |
|
counters
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. |
|
exporter
Package exporter builds the /api/export zip.
|
Package exporter builds the /api/export zip. |
|
ids
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. |
|
logging
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. |
|
media
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. |
|
parser
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. |
|
plugin
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. |
|
plugin/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. |
|
plugin/v2
Package v2 implements the hot-path BEFORE / AFTER plugin contract.
|
Package v2 implements the hot-path BEFORE / AFTER plugin contract. |
|
plugin/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. |
|
plugin/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. |
|
proxy
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. |
|
runtime
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. |
|
session
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. |
|
sse
Package sse implements the SSE parser described in ARCHITECTURE § 10.6.
|
Package sse implements the SSE parser described in ARCHITECTURE § 10.6. |
|
storage
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. |
|
trace
Package trace is the JSONL line shape described in ARCHITECTURE § 3.
|
Package trace is the JSONL line shape described in ARCHITECTURE § 3. |
|
viewerhost
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. |
|
writer
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. |
|
tools
|
|
|
bench
command
Concurrency / latency / write benchmark for api-log.
|
Concurrency / latency / write benchmark for api-log. |
|
mockup
command
Command mockup is a minimal LLM-gateway-shaped HTTP server used in the api-log development stack and integration tests.
|
Command mockup is a minimal LLM-gateway-shaped HTTP server used in the api-log development stack and integration tests. |
Click to show internal directories.
Click to hide internal directories.
