Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory(conf model.MaskFactoryConfiguration) (model.MaskEngine, bool, error)
Factory create a mask from a yaml config
Types ¶
type MaskEngine ¶
type MaskEngine struct {
// contains filtered or unexported fields
}
MaskEngine is a value that mask thanks to a regular expression
func (MaskEngine) Mask ¶
func (rm MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Mask returns a string thanks to a regular expression
Click to show internal directories.
Click to hide internal directories.