Documentation
¶
Overview ¶
Package redact is THE ONE secret redactor: what looks like a credential in a line of text an agent or a page will be shown is replaced by Mark.
🔴 ONE COPY, EVERY CALLER. It was internal/mirrorhost's (the pending-action summary a waiting session sends, below) and moved here unchanged when the chief's sessions_overview began quoting session transcripts (internal/api's sessions_overview.go); the host also runs every field of a rendered view's transcript stream through it (internal/mirrorhost's redact_stream.go). A second redactor would drift from this one — the shapes it knows are a list that grows — so all of them call this.
Index ¶
Constants ¶
const Mark = "«redacted»"
Mark replaces each secret.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.