Documentation ¶ Index ¶ func Mask(s string, patterns []*config.Mask) string func ParseMasks(maskStr, maskSep string) ([]*config.Mask, error) func ParseMasksFromEnv() ([]*config.Mask, error) type Writer func NewWriter(w io.Writer, patterns []*config.Mask) *Writer func (w *Writer) Write(p []byte) (int, error) 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) Source Files ¶ View all Source files parser.go writer.go Click to show internal directories. Click to hide internal directories.