redactor

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 7 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