Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedactingSender ¶
func NewRedactingSender(sender send.Sender, opts RedactionOptions) send.Sender
NewRedactingSender wraps the provided sender with a sender that redacts expansions in accordance with the reaction options.
Types ¶
type RedactionOptions ¶
type RedactionOptions struct { // Expansions defines the values to redact. Expansions *util.DynamicExpansions // Redacted specifies the names of expansions to redact the values for. // [globals.ExpansionsToRedact] are always redacted. Redacted []string }
RedactionOptions configures a redacting sender.
Click to show internal directories.
Click to hide internal directories.