Documentation
¶
Index ¶
Constants ¶
View Source
const RedactionString = "*REDACTED*"
Variables ¶
This section is empty.
Functions ¶
func ZeroAllPrimitivesInMethod ¶
Replaces all primitive values in the given method with zero values.
Types ¶
type Redactor ¶
type Redactor struct { SensitiveDataKeys sets.Set[string] SensitiveDataValuePatterns []*regexp.Regexp // contains filtered or unexported fields }
Replaces sensitive data with a redaction string.
func NewRedactor ¶
Creates a redactor for the given service ID. Uses the given learn client to periodically update its dynamic configuration from the back end.
func (*Redactor) RedactSensitiveData ¶
func (*Redactor) StopPeriodicUpdates ¶
func (o *Redactor) StopPeriodicUpdates()
Click to show internal directories.
Click to hide internal directories.