Help us shape the future of Go! Take the 2026 Go Developer Survey

redaction

package
v1.4.32 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redactor

type Redactor struct {
	// contains filtered or unexported fields
}

func NewRedactor

func NewRedactor(redactIPs bool, extra []string) (*Redactor, []error)

func (*Redactor) Scrub

func (redactor *Redactor) Scrub(value string) string

func (*Redactor) ScrubFields

func (redactor *Redactor) ScrubFields(fields map[string]interface{}) map[string]interface{}

Jump to

Keyboard shortcuts

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