securitytext

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package securitytext wraps runtime security text helpers for compiler-private callers.

Index

Constants

View Source
const RedactionMask = security.RedactionMask

Variables

This section is empty.

Functions

func FirstSecretKind

func FirstSecretKind(text string) (string, bool)

FirstSecretKind returns the first secret-like rule kind matched in text.

func RedactSecrets

func RedactSecrets(message string) string

RedactSecrets masks values that commonly carry credentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

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