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 ¶
ReplacementMask is to mask with a value from another field
func NewMask ¶
func NewMask(field string) MaskEngine
NewMask return a mask containing another field of the dictionary
func (MaskEngine) Mask ¶
func (remp MaskEngine) Mask(e model.Entry, context ...model.Dictionary) (model.Entry, error)
Mask masks a value with another field of the json
Click to show internal directories.
Click to hide internal directories.