output

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaskWriter

type MaskWriter struct {
	Writer    io.Writer
	Sensitive []string

	Replacement  rune
	ReplaceValue string
	// contains filtered or unexported fields
}

func NewMaskWriter

func NewMaskWriter(w io.Writer, sensitive []string) *MaskWriter

func NewMaskWriterFromVars

func NewMaskWriterFromVars(w io.Writer, sensitiveVars map[string]string) *MaskWriter

func (*MaskWriter) Write

func (hw *MaskWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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