mask

package
v4.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mask

func Mask(s string, patterns []*config.Mask) string

func ParseMasks

func ParseMasks(maskStr, maskSep string) ([]*config.Mask, error)

func ParseMasksFromEnv

func ParseMasksFromEnv() ([]*config.Mask, error)

Types

type Writer

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

func NewWriter

func NewWriter(w io.Writer, patterns []*config.Mask) *Writer

func (*Writer) Write

func (w *Writer) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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