redactor

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Anonymize

func Anonymize(baseConfig interface{}) (string, error)

Anonymize redacts the configuration fields that do not have an export=true struct tag. It returns the resulting marshaled configuration.

func RemoveCredentials

func RemoveCredentials(baseConfig interface{}) (string, error)

RemoveCredentials redacts the configuration fields that have a loggable=false struct tag. It returns the resulting marshaled configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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