redact

package
Version: v0.10.13 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL