redact

package
v0.1.1257 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 4 Imported by: 0

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