redact

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package redact masks credentials in text that leaves the process. It is a stdlib-only leaf so that config, which may import nothing internal, masks what it renders for a page with the same rule shell uses for an error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(command string) string

Command masks the credentials a URL in command carries, for any copy of a command that leaves the process as text: an error, a log line, a run event, a page. A source: is routinely rendered into a command as https://user:token@host, and errors are persisted and shown in the browser. The command that is EXECUTED is never redacted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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