redact

package
v0.1.4338 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package redact is Settings → Privacy's masking: secrets, personal data and the user's own words go to a vendor as placeholders, and come back as they were. While the settings ask for any of it, it stays on.

It is the masker of the gateway's middleware point (P3 of docs/subsystems/plugin-runtime.md): Apply serves masking.Masker, and the point fails closed: a request the settings say to mask is not sent while no masker serves it. The logs' and archives' scrubbing (redact.Scrub) is the core's, whatever the settings say.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InUse

func InUse() (int, error)

InUse is 1 while the settings ask for anything to be masked; settings that can't be read are not known, so it stays on.

Types

This section is empty.

Jump to

Keyboard shortcuts

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