mask

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMaskChar = "*"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MaskedWriter

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

func NewMaskedWriter

func NewMaskedWriter(r *Masks, s io.Reader, t io.Writer) *MaskedWriter

func (*MaskedWriter) Write

func (w *MaskedWriter) Write()

type Masks

type Masks struct {
	MaskChar string   `yaml:"maskChar"`
	Values   []string `yaml:"values"`
}

func LoadMasks

func LoadMasks() *Masks

func (*Masks) Add

func (m *Masks) Add(r string)

func (*Masks) Remove

func (r *Masks) Remove(v string) bool

func (*Masks) Save

func (m *Masks) Save()

Jump to

Keyboard shortcuts

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