package
1.1.6
Repository: https://github.com/cockroachdb/redact.git
Documentation: pkg.go.dev

# Interfaces

SafeFormatter is implemented by object types that want to separate safe and non-safe information when printed out by a Printf-like formatter.
SafeMessager is an alternative to SafeFormatter used in previous versions of CockroachDB.
SafePrinter is a stateful helper that abstracts an output stream in the context of printf-like formatting, but with the ability to separate safe and unsafe bits of data.
SafeValue is a marker interface to be implemented by types that alias base Go types and whose natural representation via Printf is always safe for reporting.
SafeWriter provides helper functions for use in implementations of SafeFormatter, to format mixes of safe and unsafe strings.

# Type aliases

SafeByte represents a byte that is not a sensitive value.
SafeBytes represents a byte slice that is not a sensitive value.
SafeFloat represents a floating-point value that is not a sensitive value.
SafeInt represents an integer that is not a sensitive value.
SafeRune aliases rune.
SafeString represents a string that is not a sensitive value.
SafeUint represents an integer that is not a sensitive value.