Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
func Factory(conf model.MaskFactoryConfiguration) (model.MaskContextEngine, bool, error)
Create a mask from a configuration
Types ¶
type MaskEngine ¶
type MaskEngine struct { List uri.EntryRecords Actual *int }
MaskEngine is a list of value to mask in order from a list
func NewMask ¶
func NewMask(name string) (MaskEngine, error)
NewMask returns a MaskEngine from a file
func (MaskEngine) MaskContext ¶
func (me MaskEngine) MaskContext(context model.Dictionary, key string, contexts ...model.Dictionary) (model.Dictionary, error)
MaskContext add the field if not existing or replace the value if existing
Click to show internal directories.
Click to hide internal directories.