redact

package
v0.10.27-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RedactedString = "** Redacted **"
)

Variables

This section is empty.

Functions

func Redact

func Redact(msg interface{}, val reflect.Value)

Redact - removes data from fields marked as sensitive given a proto message struct

func RedactedMessage

func RedactedMessage(msg interface{}) interface{}

RedactedMessage - returns a copy of a proto message struct with data from fields marked as sensitive redacted

Types

This section is empty.

Jump to

Keyboard shortcuts

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